Hi all,
I've just click on "enable url rewrite" in ACP and create htaccess file but i reach problem with articles links on blog part as below :
"The link you are trying to reach is no longer available or invalid."
What i did wrong ?
Thx
Myk
Hi all,
I've just click on "enable url rewrite" in ACP and create htaccess file but i reach problem with articles links on blog part as below :
"The link you are trying to reach is no longer available or invalid."
What i did wrong ?
Thx
Myk
still done
you have two options:
### WBB SEO START ###
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
# Rewrite application /blog/
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^blog/(.*)$ blog/index.php?$1 [L,QSA]
# Rewrite application /calendar/
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^calendar/(.*)$ calendar/index.php?$1 [L,QSA]
# Rewrite application /chat/
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^chat/(.*)$ chat/index.php?$1 [L,QSA]
# Rewrite application /gallery/
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^gallery/(.*)$ gallery/index.php?$1 [L,QSA]
# Rewrite application /media/
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^media/(.*)$ media/index.php?$1 [L,QSA]
# Rewrite application /wiki/
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^wiki/(.*)$ wiki/index.php?$1 [L,QSA]
# Rewrite application /
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(.*)$ index.php?$1 [L,QSA]
</IfModule>
### WBB SEO END ###
Display More
you have two options:
- 1 htaccess file in root of your installation with the content: (You can delete the parts which you do not use)
Apache ConfigurationDisplay More### WBB SEO START ### <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / # Rewrite application /blog/ RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^blog/(.*)$ blog/index.php?$1 [L,QSA] # Rewrite application /calendar/ RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^calendar/(.*)$ calendar/index.php?$1 [L,QSA] # Rewrite application /chat/ RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^chat/(.*)$ chat/index.php?$1 [L,QSA] # Rewrite application /gallery/ RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^gallery/(.*)$ gallery/index.php?$1 [L,QSA] # Rewrite application /media/ RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^media/(.*)$ media/index.php?$1 [L,QSA] # Rewrite application /wiki/ RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^wiki/(.*)$ wiki/index.php?$1 [L,QSA] # Rewrite application / RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^(.*)$ index.php?$1 [L,QSA] </IfModule> ### WBB SEO END ###
- Or one htacces file which is mentioned in the link and put in every app folder
Okkkkkkkkkkkkkk lol.
So, it works for forum and blog.
But it doens't work for "video" part. I get EasyMedia from Cls design. How can i manage this ?
And other question : url rewrite is nice but there is a number in the url : https://www.xxxxxx.com/blog/entry/16-playstation-vr-guide-how-to-set-up-psvr/
How can i remove it ?
It will work for easymedia too if you simple change the code to the name of your folder.
ok; done
Last problem : how can i remove the number in the url ?
thats not possible as the software always depends on the id
ok thx
Don’t have an account yet? Register yourself now and be a part of our community!