Тёмный
No video :(

[2021] How to move Wordpress from subdirectory to root directory/folder (remove wp from url) 

Smart Help Guides
Подписаться 9 тыс.
Просмотров 30 тыс.
50% 1

Опубликовано:

 

19 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 81   
@smarthelpguides
@smarthelpguides 3 года назад
Very Important : PLEASE CREATE BACKUP YOU CAN USE TO RESTORE. Some elementor users have reported issues so check the comments. Thanks. Important Update 15 Apr 2021: No extra changes are required if you are using elementor. Text you need to replace in index.php file Change the line that says: require( dirname( __FILE__ ) . '/wp-blog-header.php' ); to the following, using your directory name for the WordPress core files: require( dirname( __FILE__ ) . '/wordpress/wp-blog-header.php' ); Replace wordpress with your directory name in above line.
@PrimitiveGuyStuff
@PrimitiveGuyStuff 6 месяцев назад
Worked like a charm. Perfect solution and saved a ton of worry about moving files from one directory to another. A+
@kimjong-un1136
@kimjong-un1136 3 года назад
Incredible video. You've saved me MASSES of work when redesigning my site. I didn't want to remove my current website until my new site was created. I was able to build my new site into a folder and simply load it instead when complete.
@smarthelpguides
@smarthelpguides 3 года назад
Glad you found it useful :)
@harish8231
@harish8231 2 года назад
man you are a wordpress guru, i thought of using aws ami of wp as this was not working,thanks love you man
@GivePawOfficial
@GivePawOfficial 2 года назад
easy and simple, perfect THANK YOU
@Silverturky
@Silverturky 2 года назад
Hey man I want to do exactly this however .htaccess already exists in the root because the main site is also in a subfolder. I was wondering do I replace that htaccess with the one in the new site folder as well as the index file?
@Brandella66
@Brandella66 9 месяцев назад
perfect video.
@rizkihidayatcom
@rizkihidayatcom Год назад
thank you so much for sharing this content
@bogaletesfaye9105
@bogaletesfaye9105 Год назад
thank you
@sukhmanpreetsingh4267
@sukhmanpreetsingh4267 3 года назад
hey, I have a problem. All my pages shifted to the main domain, but the homepage is still redirecting to subdirectory in which the wordpress site was before. what should i need to change ?
@smarthelpguides
@smarthelpguides 3 года назад
Please check if you missed any step.
@charlottevonstade5297
@charlottevonstade5297 2 года назад
I have the same problem and I definitely did not skip any step.
@smarthelpguides
@smarthelpguides 2 года назад
Could be caching or something. Try a different device or browser if the problem is only with homepage.
@Mims_96
@Mims_96 2 года назад
@@charlottevonstade5297 Check your links in menu - for me it changed the Main page url to custom and I needed to adjust it manually in the menu setup.
@HafeenVlog
@HafeenVlog 7 месяцев назад
this solution did not work for me. It redirects to my subfolder. I have changed URL of only site URL field in settings page.
@prasadeye
@prasadeye 2 года назад
Hi I changed back the Elementor url back to the old one. Website is ok. Now how do I edit the website with Elementor
@inagdlog786
@inagdlog786 Месяц назад
Its working fine but in admin secction when we click on plugin its go to 404, because url got chnaged any suggestion this.
@smarthelpguides
@smarthelpguides Месяц назад
That should not happen as all links will be updated automatically, if you have followed all steps as shown. Check if htaccess is working or not.
@prasadeye
@prasadeye 2 года назад
HI, I had successfully updated my website by updating the index.php file in the public_html folder. The website was working. When I updated the url in Elementor to my website url, the site images went missing. What was the problem?
@awspring
@awspring 2 года назад
thank you so much for sharing this content. I did it and almost everything working well but some plugins dosnt work more. Do you have any idea what can happened ? Thanks
@loqiemean6894
@loqiemean6894 2 года назад
Thank You!!!!!!!
@mahdibarour6823
@mahdibarour6823 Год назад
thanx
@Sam-cx3hs
@Sam-cx3hs 2 года назад
how to get rid of the old designed website how to delete the older one
@FunnyAnimals.242
@FunnyAnimals.242 Год назад
please give this code in discription
@OlegKorneitchouk
@OlegKorneitchouk 3 года назад
Site loads fine and everything but unable to edit any posts/pages.
@asp1re530
@asp1re530 3 года назад
same :( did you find any fix?
@asp1re530
@asp1re530 3 года назад
I don't know why but adding www. in front of my site url's in Settings > General it fixed it.
@OlegKorneitchouk
@OlegKorneitchouk 3 года назад
@@asp1re530 negative. if you look at devtools when trying to edit a page, there are a bunch of 403 codes that get triggered.. my guess is its something to do with that but haven't been able to resolve yet.
@smarthelpguides
@smarthelpguides 3 года назад
Can you guys email me your site urls. And are you using elementor?
@OlegKorneitchouk
@OlegKorneitchouk 3 года назад
@@smarthelpguides emailed. new WP site I'm trying to move doesn't use elementor (but does use GeneratePress)
@TheClrr
@TheClrr 3 года назад
Hi! and thank you! all worked until I removed the /nameOfTheFOlder from the wp panel, after that, I receive a 404 error message. I think the issue is that I'm using elementor. Can you please share the link on how to update the links there? I don't see it in the description. thanks
@smarthelpguides
@smarthelpguides 3 года назад
Please email me your site url to check.
@terrikaoliver2110
@terrikaoliver2110 3 месяца назад
Is there an update to this video? I'm using WordPress blocks with a template.
@smarthelpguides
@smarthelpguides 3 месяца назад
Just backup before making changes and you are good to go. No changes in this method, still official wordpress website mentions this method.
@terrikaoliver2110
@terrikaoliver2110 3 месяца назад
@smarthelpguides this has been a confusing process, but you've made it simple. Thanks!
@smarthelpguides
@smarthelpguides 3 месяца назад
Glad to know it was useful for you :) Thanks for your feedback.
@uzogesarah9880
@uzogesarah9880 2 года назад
Great video. But am lost, I have followed all step by step, but which file did you copy that line from, as I can't see it in my own end. That is the file where you copied the command you used to replace that line.
@smarthelpguides
@smarthelpguides 2 года назад
Please specify timestamp about the line you want to copy.
@otuujong9
@otuujong9 8 месяцев назад
WHERE IS THE LINK PLS?
@imbombayboy
@imbombayboy Год назад
Hi, I followed the same steps. The website is working perfect on root directory, but my WP forms have stopped sending emails. Any idea why? It would be a great help. Thanks in advance.
@smarthelpguides
@smarthelpguides Год назад
That should not happen but check your form settings and save them again once.
@JanarthanamAanandan
@JanarthanamAanandan Год назад
Hi. Thank for the video. Everything working well except the home page link which still pointing to /subfolder. Plz help
@smarthelpguides
@smarthelpguides Год назад
It could related to your theme as I understand you are saying link to home page from logo or something points to /home instead of index.php
@JanarthanamAanandan
@JanarthanamAanandan Год назад
@@smarthelpguides Thanks for your reply. Appreciated
@jellywobbles
@jellywobbles 3 года назад
In the video you make a point of saying that if using Elementor - you need to update the URL. You say you will post info on what is required, but looks like you forgot to do this. How do I update the URL in Elementor?? Please advise and thanks for a great video!
@smarthelpguides
@smarthelpguides 3 года назад
Update 15 Apr 2021: No extra changes required if you are using elementor. Thanks for reminding. I will update you soon.
@jellywobbles
@jellywobbles 3 года назад
@@smarthelpguides Thank you! :)
@jarnoojasaar
@jarnoojasaar 3 года назад
@@jellywobbles ELementor > Tools > Replace URL
@smarthelpguides
@smarthelpguides 3 года назад
Update: 15 apr 2021 - no extra changes required. You can follow these steps smarthelpguides.com/changing-site-url-in-elementor/ I just posted a quick guide on my site.
@smarthelpguides
@smarthelpguides 3 года назад
Thanks for sharing.
@omargustavobautistachambil1533
@omargustavobautistachambil1533 2 года назад
not upload media!!!! not work
@qasimyousaf979
@qasimyousaf979 3 года назад
Not working for me Can you help me ?
@smarthelpguides
@smarthelpguides 3 года назад
Please follow all the steps correctly it should work. What error you are getting?
@qasimyousaf979
@qasimyousaf979 3 года назад
I copied exactly the same htaccess and index.php to the root folder
@qasimyousaf979
@qasimyousaf979 3 года назад
And then changed the line in index.php but its not redirecting.
@smarthelpguides
@smarthelpguides 3 года назад
This is the proper method from wordpress official guide.
@qasimyousaf979
@qasimyousaf979 3 года назад
I get it but do you know why it isn't working for me?
@letlhogonolondhlovu6691
@letlhogonolondhlovu6691 2 года назад
I got an error 500 after i followed all the steps
@smarthelpguides
@smarthelpguides 2 года назад
Please check if you followed all steps in correct order. Issue could be because of some plugin conflict like security plugin.
@upendrathakuri5843
@upendrathakuri5843 2 года назад
not happy
@astonmartin2727
@astonmartin2727 Год назад
Hi , I tried your method and it does not work for me. How can i email you ?
@smarthelpguides
@smarthelpguides Год назад
Replied to your email
Далее
13 Things To Remove From Your Website Immediately
12:33
How ChatGPT Built My App in Minutes 🤯
8:28
Просмотров 2,3 млн
How to Speed Up Your WordPress Website (Simple Guide)
14:03