![]() |
#1 |
Registered User
Join Date: Aug 2015
Posts: 434
|
How to www redirect URL?
want to know how to www redirect my website URL. Issue is when i type www (dot) mywebsite( dot )com and mywebsite(.)com they opens with different url format as they typed.
__________________
Dentist in Delhi | Best Dentist in Ashok Vihar | Best Dentist in Shalimar Bagh | Best Prosthodontist in Delhi |
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Sep 2015
Posts: 11
|
You can forward your page to a different page by inserting the following piece of code in your <head> </head> tag:
<meta http-equiv="refresh" content="0; url=http://www.example.com/"> "content" specifies how many seconds will elapse before you are forwarded to the other page..
__________________
Join Master Affiliate League And Earn Money http://masteraffiliateleague.blogspot.com
|
![]() |
![]() |
![]() |
#3 |
Registered User
Join Date: Jul 2014
Location: Athens, Greece
Posts: 461
![]() |
At .htaccess file, insert these lines
RewriteEngine on RewriteCond %{HTTP_HOST} ^mysite\.com$ RewriteRule (.*) http://www.mysite.com/$1 [R=301,L]
__________________
Κατασκευή ιστοσελίδων | κατασκευή Δημιουργία site | Σχεδιασμός ανάπτυξη site | e-shop | Σχεδιασμός ιστοσελίδων |
![]() |
![]() |
![]() |
#4 |
Registered User
Join Date: Sep 2015
Posts: 7
|
RewriteCond %{HTTP_HOST} !^www\.YourSite\.com$ [NC]
RewriteRule ^(.*)$ http://www.YourSite.com/$1 [R=301,L]
__________________
Optimizepress Experts |
![]() |
![]() |
![]() |
#5 |
Registered User
Join Date: May 2015
Posts: 61
![]() |
Go to cpanel ->Find Domain tab click on Redirect link ->now open a input box -> enter your site name
Ex : www.yourdomain.com then save it . you dont need to rewrite a .htaccess file ![]() |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about 301 Permanent Redirect | JACKADEN | Search Engine Optimization | 7 | 11-28-2019 01:07 AM |
301 redirect is better or 302 redirect . | rummy26 | Search Engine Optimization | 13 | 12-17-2014 05:14 AM |
Redirect the website and want to know about backlinks | sahithya | Search Engine Optimization | 0 | 11-17-2014 12:06 AM |
301 redirect - the right way | sinicline | 2 | 09-27-2013 11:32 PM | |
301 Redirect as a Way Past the Sandbox | ncjbhd | 0 | 10-19-2011 08:41 PM |