| | #1 |
| Warrior Member Join Date: 2014
Posts: 15
Thanks: 3
Thanked 4 Times in 2 Posts
|
i need to create a redirect to a non existing page. here is my code <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^index2\.php#!(.*)$ /index2\.php/$1 [R=301,L] </IfModule> this would be my url ttp://sub.domain.com/index2.php#!time/ i would like to redirect avery request with "#!string" to new url (same page) - ttp://sub.domain.com/index2.php/time/ i know that the code above needs RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d to be added but it doesnt even makes the redirect to 404. the url doesnt change. thanks |
|
Front end $9 @ 100% commission Upsell $47 @ 50% commission more details here - > https://www.jvzoo.com/affiliates/info/139185 Logo design -contact me. | |
| |
|
| Bookmarks |
| Tags |
| htaccess |
| |