The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
This might be a little complicated, considering that you are using another script. What script are you using?
With Adult Script Pro, it would be something like:
if (!VBrowser::get('is_robot')) {
VF::redirect(BASE_URL.'/index.php');
}
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
yes i want for now to be able crawl my old site.
Offline
Hmm...try this:
RewriteEngine on RewriteCond %{REQUEST_URI} !^/index.html RewriteRule ^(.*)$ /index.html [L,R=301]
There might be rules on your server though, that maybe affect the index.html redirect. Let me know if that works.
its ok this work for me for now. thank youuuuuu!
Offline
That will also redirect robots
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
realy?? so what code i should use?
Offline
I dont think you can do it from .htaccess and even if you could, you need like 50 lines for all search engines.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
RewriteEngine on RewriteRule (.*) http://www.yourdomain.com/index.html [R=301,L]
This will redirect EVERYTHING to index.html
I plan on moving my site to a new domain. From smuttv.co -> xsporntv.com. Can I simply copy and paste the code above into the bottom of the .htaccess file?
Question? This is a 301...so if a person clicks on smuttv.co/big-tits-alexis texas/ will it take them to xsporntv.com/big-tits-alexas texas or simply xsporntv.com?
Last edited by xsporntv (2011-09-26 19:00:21)
Offline