Title: mamakin's Replies | WordPress.org

---

# mamakin

  [  ](https://wordpress.org/support/users/mamakin/)

 *   [Profile](https://wordpress.org/support/users/mamakin/)
 *   [Topics Started](https://wordpress.org/support/users/mamakin/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mamakin/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mamakin/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mamakin/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mamakin/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mamakin/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The SEO Framework – Fast, Automated, Effortless.] Sitemap duplicates the folder lepinia.it/home/home](https://wordpress.org/support/topic/sitemap-duplicates-the-folder-lepiniaithomehome/)
 *  Thread Starter [mamakin](https://wordpress.org/support/users/mamakin/)
 * (@mamakin)
 * [10 years ago](https://wordpress.org/support/topic/sitemap-duplicates-the-folder-lepiniaithomehome/#post-7181403)
 * 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,
    Angelo
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The SEO Framework – Fast, Automated, Effortless.] Sitemap duplicates the folder lepinia.it/home/home](https://wordpress.org/support/topic/sitemap-duplicates-the-folder-lepiniaithomehome/)
 *  Thread Starter [mamakin](https://wordpress.org/support/users/mamakin/)
 * (@mamakin)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sitemap-duplicates-the-folder-lepiniaithomehome/#post-7181400)
 * For 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
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The SEO Framework – Fast, Automated, Effortless.] Sitemap duplicates the folder lepinia.it/home/home](https://wordpress.org/support/topic/sitemap-duplicates-the-folder-lepiniaithomehome/)
 *  Thread Starter [mamakin](https://wordpress.org/support/users/mamakin/)
 * (@mamakin)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sitemap-duplicates-the-folder-lepiniaithomehome/#post-7181214)
 * 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
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The SEO Framework – Fast, Automated, Effortless.] Sitemap duplicates the folder lepinia.it/home/home](https://wordpress.org/support/topic/sitemap-duplicates-the-folder-lepiniaithomehome/)
 *  Thread Starter [mamakin](https://wordpress.org/support/users/mamakin/)
 * (@mamakin)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sitemap-duplicates-the-folder-lepiniaithomehome/#post-7181134)
 * 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
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The SEO Framework – Fast, Automated, Effortless.] Sitemap duplicates the folder lepinia.it/home/home](https://wordpress.org/support/topic/sitemap-duplicates-the-folder-lepiniaithomehome/)
 *  Thread Starter [mamakin](https://wordpress.org/support/users/mamakin/)
 * (@mamakin)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sitemap-duplicates-the-folder-lepiniaithomehome/#post-7181132)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The SEO Framework – Fast, Automated, Effortless.] Sitemap Double directory](https://wordpress.org/support/topic/sitemap-double-directory/)
 *  [mamakin](https://wordpress.org/support/users/mamakin/)
 * (@mamakin)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sitemap-double-directory/#post-7131109)
 * I’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
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[The SEO Framework – Fast, Automated, Effortless.] Sitemap xml does not output taxonomie category](https://wordpress.org/support/topic/sitemap-xml-does-not-output-taxonomie-category/)
 *  Thread Starter [mamakin](https://wordpress.org/support/users/mamakin/)
 * (@mamakin)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sitemap-xml-does-not-output-taxonomie-category/#post-8077302)
 * 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:
 * [http://www.lepinia.it/home/home/property/patrica-complesso-immobiliare](http://www.lepinia.it/home/home/property/patrica-complesso-immobiliare)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [from lepinia.it/home to lepinia.it , how to redriect existing links on google?](https://wordpress.org/support/topic/from-lepiniaithome-to-lepiniait-how-to-redriect-existing-links-on-google/)
 *  Thread Starter [mamakin](https://wordpress.org/support/users/mamakin/)
 * (@mamakin)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/from-lepiniaithome-to-lepiniait-how-to-redriect-existing-links-on-google/#post-7177740)
 * on a htacess generator it gives me this result:
 * //301 Redirect Entire Directory
    RedirectMatch 301 [http://www.lepinia.it/home(.*)](http://www.lepinia.it/home(.*))
   [http://www.lepinia.it//$1](http://www.lepinia.it//$1)
 * is this right?

Viewing 8 replies - 1 through 8 (of 8 total)