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.
how i can with .htaccess redirect ALL pages to index.html??
Offline
RewriteEngine on
RewriteRule (.*) http://www.yourdomain.com/index.html [R=301,L]
This will redirect EVERYTHING to index.html
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
i get error
Offline
is show like my site is offline..... what is rong in this code?
RewriteEngine on
RewriteRule (.*) http://www.yourdomain.com/index.html [R=301,L]
Offline
is show like my site is offline..... what is rong in this code?
RewriteEngine on
RewriteRule (.*) http://www.yourdomain.com/index.html [R=301,L]
You need to add your domain URL in the second line:
RewriteEngine on
RewriteRule (.*) http://www.xporn4u.com/index.html [R=301,L]
Last edited by Pikeypete (2011-05-16 19:09:11)
Offline
i do that man . but i want to ALL pages to redirect to index.html .and this code is show my site like is offline
Offline
let me explene to you what i want to do.....
i have 2 sites one is xporn4u.com and one more wich i will close it.so in other site i have add index.html wich i gave link to new site ( xporn4u ) and message wich say site closed etc.... ok?? so how i can redirect ALL pages to index.html?
Last edited by thiva7 (2011-05-16 19:16:46)
Offline
If all you're wanting to do is redirect traffic from your old site that you're closing to your new site xporn4u simply go into your server control panel and set up a simple 302 redirect, easier and less hassle. It WON'T be instant, it usually takes about an hour after you set the redirect to your new site so be patient before you see the results.
Offline
i dont want to redirect to xporn4u yet.....i just want to all pages go index.html
Offline
i told u before.....is shows my old site like is offline with this code
Offline
( adrian is not spam this link , this site will be close )
here my other site link
Offline
You've got an error, I'm guessing in your htaccess if you didn't change anything in your server control panel.
You're not resolving to the .html.
I can fix it with access or you can just wait for Adrian, either way it's a simple fix.
Offline
i send u mail
Offline
Fixed.
All that a visitor will see now is your index.html which notifies them of your new site with the given link to your new site. There is no need to include every page from your old site as there aren't any other viewable or accessible pages/links to the public now.
All a visitor sees when he/she goes to any site is the index first anyway.
Last edited by Pikeypete (2011-05-16 19:51:30)
Offline
nothing fixed
eg when some one visit this site from google with link
http://www.celebsxvideo.com/page.php?page=35 is not redirect to index.html .
i have not delete anything from my old site i just rename index.php and play.php wich have the most usage.
so i want EVERY page to redirect index.html i have told that many many times in this post.
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.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
AGAIN MAN.....i dont want to redirect celebsxvideo to xporn4u. with no way. i want to still crawl google my old site but when some one visit i want to redirect INDEX.HTML
Offline
Ahh...wait...you want google to still be able to crawl your old site, however when a non-robot visits your site, you want to redirect to index.html?
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
yes....yes i want to only redirect all pages to index.html
Offline
Yes...yes to what? You want only human visitors to be redirected? And robots (including google-bot) to be able to index/crawl your site?
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline