mamakin
Forum Replies Created
-
Hi Sybre
yes it all worked, the main job it was done automatically by google, it dedected all the “error 404 pages” and removed it
I even tried to contact the service provider but they did not help me with the htacess file, so I did not modified it
your plugin is great, is simple to use and works very well , thank you for your help,
Regards,
AngeloFor anyone who had my same problem, I just solved doing the “Letting Google know you’ve changed your directory ASAP” in the search console as Sybre Waaijer said
In this way google identified 220 broken links that results 404 errors, and within 10/12 days he automatically remove the brkoen links from the search engine.
By the way the htacess solution did not work with my website
I added this line o the installation directory (/home where wp-config.php is located) but the old links still giving me 404 error, maybe is better I put back the site url on lepinia.it/home and wait for the new version of the plugin?
my actual htacess situated in lepinia.it/home :
# BEGIN move from lepinia.it/home/
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^home/(.*)$ $1 [L,R=301]
</IfModule># END move from lepinia.it/home/
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /home/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /home/index.php [L]
</IfModule># END WordPress
I’m really sorry I did a mistake I write the htacess of the main root, the htacess of the installation folder where the wp-config.php file is located(/home/.htacess) is:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /home/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /home/index.php [L]
</IfModule># END WordPress
Thank you very much for the replies
I did the “fetch and render” two days ago on the search console, and just now the console is giving me 23 url errors, that are the 23 “old links” that refers to the actual 404 error
about the htacess file I already have the rewrite rule, can you please check it? the rewrite rule was created automatically by my server aruba via application installer
instead the wordpress rule was created by wordpress when I changed the site url in lepinia.it: (this is the htacess file I have on root)
RewriteEngine On #created by aruba do not touch this file!
#ATTENTION: Remove file index.(php|html|htm)
RewriteCond %{REQUEST_URI} !^/realestate
RewriteCond %{REQUEST_URI} !^/home
RewriteCond %{REQUEST_URI} !^/agenzia
RewriteRule ^(.*)$ home/$1 [L]# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
Forum: Plugins
In reply to: [The SEO Framework – Fast, Automated, Effortless.] Sitemap Double directoryI’m having the same problem , sorry if I opened a new post I did not see this one.
Even for me I got lepinia.it/home/home in the sitemap output, and I’m not using any plugin outside seo framewrk
Ok it can be solved modifying the url site in lepinia.it (and leaving lepinia.it/home as wordpress instalation directory)
but now I’m having on Google the old links “lepinia.it/home/….” referring to error 404 page because the permalinks changed
So does google will automatically delete the old links and replacing it with the new one (lepinia.it/…) ? or I have to do something to fix it?
thanks
thank you very much for answer, I have another problem, my site url is lepinia.it/home and even the wordpress url is lepinia.it/home
the sitemap outputs lepinia.it/home/home
it adds me another home directory, do you know how can I solve it?
for example:
https://www.lepinia.it/home/home/property/patrica-complesso-immobiliare
on a htacess generator it gives me this result:
//301 Redirect Entire Directory
RedirectMatch 301 https://www.lepinia.it/home(.*) https://www.lepinia.it//$1is this right?