Great community. Great ideas.
Welcome to SEOChat, a community dedicated to helping beginners and professionals alike in improving their Search Engine Optimization knowledge. Sign up today to gain access to the combined insight of tens of thousands of members.
Jun 8th, 2011, 06:03 AM
Redirect from directory to Root + parameter URL treatment
I have to redirect my shopping cart directory to Root now.
to be redirected to Root now
/mens/t-shirts/ => index.php?c=13
My solution is like this and it works,
RedirectMatch 301 /shop/(.*) /$1
RewriteRule ^mens/t-shirts/$ index.php?c=13 [L]
Final URL: example.com/mens/t-shirts/ which backend loads example.com/index.php?c=13
May I ask if these 2 sentences is the MOST efficient way?
Is there a way to combine into 1 line of coding instead of 2?
By MagicDaddy in forum Google Optimization
Last Post: Oct 15th, 2004, 12:28 PM
By ChillnVilln in forum Web Design, Coding and Programming
Last Post: Aug 31st, 2004, 11:57 AM
By JoeBob in forum Google Optimization
Last Post: Jan 16th, 2004, 02:48 PM
By dvs007 in forum Google Optimization
Last Post: Oct 3rd, 2003, 12:01 PM
By adairk in forum Public Site Reviews
Last Post: May 31st, 2003, 05:30 AM