Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 10th Apr 2015, 07:27 AM   #1
Warrior Member
 
Join Date: 2014
Posts: 15
Thanks: 3
Thanked 4 Times in 2 Posts
Default
need help with htaccess
Share on: 
fb share twitter share gplus share more share

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.
madbob is offline  
Closed Thread


Bookmarks

Tags
htaccess


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 10:54 AM.