![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Oct 2002
Posts: 6,780
|
quick .htaccess question..
__________________
_________________ I am the best ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Oct 2002
Posts: 6,780
|
bumpppppppppp
__________________
_________________ I am the best ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
WINNING!
Industry Role:
Join Date: Oct 2002
Posts: 14,579
|
why would you worry about that, as long as the backlinks are to http://www.mysite.com and not http://mysite.com
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Oct 2002
Posts: 6,780
|
because for some weird reason http://mylink doesnt open crap..
how do i set the default page to index.php?
__________________
_________________ I am the best ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
WINNING!
Industry Role:
Join Date: Oct 2002
Posts: 14,579
|
2. If you need to redirect http://mysite.com to
http://www.mysite.com and you've got mod_rewrite enabled on your server you can put this in your .htaccess file: Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteRule ^(.*).htm$ $1.html [R=301,L] or this: RewriteEngine On RewriteCond %{HTTP_HOST} ^domain\.com$ [NC] RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L] Tip: Use your full URL (ie http://www.domain.com) when obtaining incoming links to your site. Also use your full URL for the internal linking of your site. http://www.isitebuild.com/301-redirect.htm |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
WINNING!
Industry Role:
Join Date: Oct 2002
Posts: 14,579
|
Quote:
or if yo want a whole list DirectoryIndex filename.html index.cgi default.htm foo.html index.html |
|
![]() |
![]() ![]() ![]() ![]() ![]() |