If I change from no 'www' to 'www' will my pages get delinked

Discussion Of All Legal Topics Anything Goes, No Personal Information or Attacks.
Trading, Buying, Selling Links, Traffic, Domains, Websites Go Here.
Looking for Work or Hiring Employees or Independent Contractors Post Here.
Sponsor Announcement & News
Post Reply
misty
Posts: 187
Joined: March 12th, 2018, 10:43 am

If I change from no 'www' to 'www' will my pages get delinked

#1

Post by misty » February 8th, 2024, 10:50 am

If I change from https://..........com to https://www.........com will Google drop my indexed pages?
Misty is my stage name

born2bewild
Posts: 1117
Joined: May 22nd, 2018, 6:47 pm
Title: work hard play hard

#2

Post by born2bewild » February 9th, 2024, 7:11 am

Update your site map it'll all be good in next to no time




3ric
Posts: 398
Joined: February 20th, 2022, 8:57 pm

#3

Post by 3ric » February 11th, 2024, 8:18 am

born2bewild wrote:
February 9th, 2024, 7:11 am
Update your site map it'll all be good in next to no time
Even without an update Google will do it's job.




User avatar
tacnet
Posts: 1775
Joined: February 22nd, 2019, 7:21 pm
Referrals: 2
Contact:

#4

Post by tacnet » February 11th, 2024, 11:58 am

Just force the www in your htacess with the following code and google will pick it up

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Line 1 - switches the rewrite engine on (if youve not already done so)
Line 2 - Search for any urls that dont begin with www
Line 3 - Rewrites the entire url beginning with www using a 301 re-direct so google will update its database

snooper
Posts: 306
Joined: March 11th, 2018, 3:39 pm

#5

Post by snooper » February 12th, 2024, 7:19 pm

People are used to typing out www and if your htaccess is done right it does not matter either way.




Hosting Fred
Posts: 210
Joined: October 12th, 2021, 8:43 am
Title: Hosting is my game

#6

Post by Hosting Fred » February 14th, 2024, 7:25 am

tacnet wrote:
February 11th, 2024, 11:58 am
Just force the www in your htacess with the following code and google will pick it up

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Line 1 - switches the rewrite engine on (if youve not already done so)
Line 2 - Search for any urls that dont begin with www
Line 3 - Rewrites the entire url beginning with www using a 301 re-direct so google will update its database
The man 34ddww




fetishnews
Posts: 983
Joined: February 16th, 2018, 6:30 pm

#7

Post by fetishnews » February 17th, 2024, 11:40 am

All my sites since 2018 have been without a 'www' prefix in the url. It's a moot point now a days to have one.




If I change from no 'www' to 'www' will my pages get delinked

Post Reply