SEO

Do you want to share WYSIWYG Web Builder tips, tricks, tutorials or useful HTML code? You can post it here...
(no questions or problems please, this section is not monitored by support).
Forum rules
This section is to share tips, tricks and tutorials related to WYSIWYG Web Builder.
Please do not post questions or problems here. They will not be answered.

PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
Post Reply
User avatar
colin1661music
 
 
Posts: 113
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

SEO

Post by colin1661music »

Hi Everyone,

I recently started working with an SEO company who offered to help us get our WYSIWYG designed website further up the search engines.

One of the problems they said was that google sees 3 urls for the home page.

https://www.yourdomain.co.uk
www.yourdomain.co.uk
https://www.yourdomain.co.uk/index.php

They suggested we use the following .htaccess file, I’m not how much this has improved our ranking but at least google only sees one url now.

ErrorDocument 404 /index.php
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourdomain.co.uk$ [NC]
RewriteRule (.*) https://www.yourdomain.co.uk/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteRule (.?)index\.php/(.*) /$1$2 [R=301,NE,L]
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
wwonderfull
 
 
Posts: 1439
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: SEO

Post by wwonderfull »

colin1661music wrote: Fri Nov 11, 2022 9:38 am I recently started working with an SEO company who offered to help us get our WYSIWYG designed website further up the search engines.
One of the problems they said was that google sees 3 urls for the home page.
https://www.yourdomain.co.uk
www.yourdomain.co.uk
https://www.yourdomain.co.uk/index.php
They suggested we use the following .htaccess file, I’m not how much this has improved our ranking but at least google only sees one url now.
From my perspective this is an off-topic question and should belong to that thread.

It is ironic that an SEO company who offered to help you get your WYSIWYG designed website further up the search engines could not figure this simple SEO issue which is called canonical url. I also practice SEO tactics myself. From my understanding it may be canonical url issue there.

See more about it in here:
https://support.google.com/webmasters/a ... 0canonical

We seo optimized our website too by clicking here or below
User avatar
BaconFries
 
 
Posts: 5640
Joined: Thu Aug 16, 2007 7:32 pm

Re: SEO

Post by BaconFries »

From my perspective this is an off-topic question and should belong to that thread
Perhaps, but in this instance it is being offered as a tip on how to setup a .htacess and not a question on the use of such.
wwonderfull
 
 
Posts: 1439
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: SEO

Post by wwonderfull »

BaconFries wrote: Fri Nov 11, 2022 12:33 pm
From my perspective this is an off-topic question and should belong to that thread
Perhaps, but in this instance, it is being offered as a tip on how to setup a .htacess and not a question on the use of such.
True, I reconsider it. Thank you for the guidance @Bacon.
wwonderfull
 
 
Posts: 1439
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: SEO

Post by wwonderfull »

There are posts in this forum where canonical page has been discussed along with htaccess. The codes you have provided we cannot verify the use of it as it was given by the seo agency of yours. Remember to use any code in .htaccess with caution.

See some of these posts for some indication
https://wp-mix.com/canonical-www-htaccess/
http://wysiwygwebbuilder.com/forum/view ... =canonical
https://www.wysiwygwebbuilder.com/forum ... hp?t=94333
http://wysiwygwebbuilder.com/forum/view ... =canonical
alan_sh
 
 
Posts: 1752
Joined: Tue Jan 01, 2019 5:50 pm

Re: SEO

Post by alan_sh »

Well, I wouldn't send an error document to the index page.

But then, I don't understand what the other lines do anyway :D :D
Post Reply