| | #1 |
| HyperActive Warrior War Room Member Join Date: 2011
Posts: 147
Thanks: 16
Thanked 24 Times in 22 Posts
|
Hi Everyone, I have a problem with my site, and I need make 301 redirect to those URLs. Could someone help me in teaching me how to add some rule to .htaccess? A lot of thanks for you. 1, all urls like http://www.examplesite.com/index.php?n=138 http://www.examplesite.com/index.php?n=239 http://www.examplesite.com/index.php?n=1001 ...... http://www.examplesite.com/index.php?n=1012 rewrite to http://www.examplesite.com/index/138 ...... http://www.examplesite.com/index/1012 2, all urls like http://www.examplesite.com/chat.php?...72969615&n=138 http://www.examplesite.com/chat.php?...9086560&n=1001 ...... http://www.examplesite.com/chat.php?...3234760&n=1012 rewrite to http://www.examplesite.com/chat/Jenna_Squirts/138 http://www.examplesite.com/chat/yoursweetfox/1001 ...... http://www.examplesite.com/chat/Lara_Schmidt/1012 |
| | |
| |
| | #2 |
| HyperActive Warrior War Room Member Join Date: 2003 Location: Portland, ME USA.
Posts: 105
Thanks: 8
Thanked 10 Times in 9 Posts
|
you might try the programming forum section here on WF for this one...
|
|
Run Your Own Direct Sales MLM Company ==> https://DirectSalesMLM.com | |
| |
| | #3 |
| HyperActive Warrior Join Date: 2012 Location: Usa
Posts: 137
Thanks: 50
Thanked 35 Times in 29 Posts
|
hi You can find useful information related to your querry here: Setting up a permanent 301 redirect via .htaccess | InMotion Hosting |
| | |
| |
| The Following User Says Thank You to cashinpro For This Useful Post: |
| | #4 |
| HyperActive Warrior War Room Member Join Date: 2011
Posts: 147
Thanks: 16
Thanked 24 Times in 22 Posts
|
HI thanks for your advice.
|
| | |
| |
| | #5 |
| HyperActive Warrior Join Date: 2014 Location: Mumbai, India
Posts: 110
Thanks: 0
Thanked 14 Times in 12 Posts
|
You could find the tutorial using .htacess file here: https://my.justhost.com/cgi/help/htaccess Hope it helps! |
| | |
| |
| | #6 |
| Warrior Member Join Date: 2015
Posts: 7
Thanks: 0
Thanked 2 Times in 1 Post
|
We have a very useful article with examples about .htacess Rewrite Rules at .htaccess RewriteRule Examples | Knowledgebase - Brontobytes |
| European Web Hosting by Brontobytes | |
| |
|
| Bookmarks |
| Tags |
| 301, htacess, question, redirect, rewrite, rule |
| |