orhhun Posted October 28, 2008 Share Posted October 28, 2008 i prefer to use htaccess file to make seo links in my site. and last week, i started to make htaccess file for my subdomains. i am using this code on my base directory of subdomain(subdomain.site.com/.htaccess): Options +FollowSymLinks RewriteEngine on RewriteRule ^folder/(.*) page.php?who=$1 i want this: when i write: subdomain.site.com/folder/kelly it must be opened: subdomain.site.com/page.php?who=kelly but its not working fine with this code there is an interesting point: when i write the adress like this: site.com/subdomain/folder/kelly = ok, its working with the code above but if i write this: subdomain.site.com/folder/kelly = its not working with the same code do u have any idea about it? what must i do? (my subdomanis are not fake) Link to comment https://forums.phpfreaks.com/topic/130428-htaccess-in-subdomain/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.