Site URLs not working correctly

mason66
3 Posts
mason66 posted this 21 July 2023
Ask a Question

Help required. I've recently launched my site through wordpress using the nicepage plugin. However, the redirect from the non www. to the www. version of the site is not working. Causing many issues with search engines. site is www.cambridgevendingsolutions.co.uk

Help required. I've recently launched my site through wordpress using the nicepage plugin. However, the redirect from the non www. to the www. version of the site is not working. Causing many issues with search engines. site is www.cambridgevendingsolutions.co.uk
Vote to pay developers attention to this features or issue.
5 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 21 July 2023

Hello Mason,

Thanks for reaching out to us

To set up a proper redirection, you can follow these steps below, but we would advise you to contact your hosting support:

Check your WordPress General Settings:

Log in to your WordPress dashboard.
Go to "Settings" >> "General."
Ensure that both the "WordPress Address (URL)" and "Site Address (URL)" have the www version of your domain (e.g., http://www.cambridgevendingsolutions.co.uk).
Check your .htaccess file:

Access your website's root directory using an FTP client or the file manager provided by your hosting provider.

Look for the .htaccess file. If you don't see it, ensure your FTP client or file manager is set to show hidden files.

Download a backup copy of the .htaccess file to your computer, just in case.

Edit the .htaccess file using a text editor and add the following code:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Save the changes to your .htaccess file and upload them to your website's root directory.

Clear your browser cache and try accessing your website without the www prefix (e.g., http://cambridgevendingsolutions.co.uk). It should automatically redirect to the www version.

Please keep in mind that changes to .htaccess can have a significant impact on your site, so it's essential to create a backup before making any modifications.

If you're uncomfortable with modifying the .htaccess file yourself, you can contact your hosting provider's support or a WordPress expert for assistance.

Remember to be patient, as it may take some time for search engines to update their indexes with the new redirection.

If you have any further questions or need additional help, please feel free to ask!
...................................................
Sincerely,
Ahmad.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Mason, Thanks for reaching out to us To set up a proper redirection, you can follow these steps below, but we would advise you to contact your hosting support: Check your WordPress General Settings: Log in to your WordPress dashboard. Go to "Settings" >> "General." Ensure that both the "WordPress Address (URL)" and "Site Address (URL)" have the www version of your domain (e.g., http://www.cambridgevendingsolutions.co.uk). Check your ***.htaccess*** file: Access your website's root directory using an FTP client or the file manager provided by your hosting provider. Look for the ***.htaccess*** file. If you don't see it, ensure your FTP client or file manager is set to show hidden files. Download a backup copy of the ***.htaccess*** file to your computer, just in case. Edit the ***.htaccess*** file using a text editor and add the following code: RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Save the changes to your ***.htaccess*** file and upload them to your website's root directory. Clear your browser cache and try accessing your website without the www prefix (e.g., http://cambridgevendingsolutions.co.uk). It should automatically redirect to the www version. Please keep in mind that changes to ***.htaccess*** can have **a significant impact on your site,** so it's essential to create a backup before making any modifications. If you're uncomfortable with modifying the ***.htaccess*** file yourself, you can contact your hosting provider's support or a WordPress expert for assistance. Remember to be patient, as it may take some time for search engines to update their indexes with the new redirection. If you have any further questions or need additional help, please feel free to ask! ................................................... Sincerely, Ahmad. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
mason66
3 Posts
mason66 posted this 24 July 2023

Hi, This is still not working. Any other solutions?

Hi, This is still not working. Any other solutions?
pawelolczyk3223
31 Posts
pawelolczyk3223 posted this 24 July 2023

I have the same problem, have you found a solution?

I have the same problem, have you found a solution?
pawelolczyk3223
31 Posts
pawelolczyk3223 posted this 24 July 2023

If I do a redirect without www then the website doesn't work. It only shows up in white.

If I do a redirect without www then the website doesn't work. It only shows up in white.
Support Team
Support Team posted this 25 July 2023

Hi Mason,

Could you please contact your hosting provider and ask them what the problem may be. Nicepage plug-in should not affect any domain options on your site.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Mason, Could you please contact your hosting provider and ask them what the problem may be. Nicepage plug-in should not affect any domain options on your site. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments