Jump to content

How do I add in SEO?


chmpdog

Recommended Posts

ok, I had it working in a sub folder with this htacess:

 

RewriteEngine on

RewriteRule ^view/([0-9]+)/([a-zA-Z?-]+) index.php?task=view&id=$1&name=$2 [L]
RewriteRule ^cat/([0-9]+)?/([a-zA-Z?-]+)/p([0-9]+) index.php?cat_id=$1&name=$2&page=$3 [L]
RewriteRule ^profile/([0-9]+)?/([a-zA-Z?-]+) index.php?task=profile&id=$1&name=$2 [L]
RewriteRule ^page/([0-9]+) index.php?task=view_page&id=$1 [L]  
RewriteRule ^task/register index.php?task=register [L] 
RewriteRule ^task/lost-password index.php?task=lost_pass [L] 
RewriteRule ^task/cr index.php?task=crazyeyes [L]
RewriteRule ^task/login index.php?task=login [L]

 

Now it only works a the sub folder I tried it on the root and it wont work. Its really weird. Whats Happening?

 

PS : I tried the other htacess same problem

Link to comment
https://forums.phpfreaks.com/topic/68486-how-do-i-add-in-seo/#findComment-344518
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.