• blackop

    (@blackop)


    Thanks in advance, everyone. I really am in a pickle here, guys.

    My website started with wordpress. The GoDaddy applet installed it into the root directory. So my WP install is in the root. That said, I just created a new static-site and uploaded the files to the root of the webserver.

    I put a link on my site to index.php, which starts wordpress. But it won’t work. I looked all over the internet for a solution, and I couldn’t find anything short of reinstalling wordpress in to a seperate folder.

    I even called GoDaddy and spoke with them and they advised the same thing: seperate the WP installation into its own folder. However, I have so much information in my blog, I can’t lose it.

    Is there a way to link from a static HTML page to WP’s index.php in the same root folder?

    Again, many thanks.

Viewing 15 replies - 1 through 15 (of 24 total)
  • Pioneer Web Design

    (@swansonphotos)

    Remove all the files added by the GD installer in your root (carefully, using an FTP client, show hidden files) and when you use their tool (I would not) make sure you have already created both a folder for the install, are pointing to it, and that you have set the proper a record for a sub-domain. Posts are kept in the MySQL Database, so that should not be lost if properly configured. Plugin and theme settings may need to be re-done.

    If you are on shared host with GD, manually install and update always – server side issues arise if not.

    Thread Starter blackop

    (@blackop)

    Thanks a ton, Swansonphotos!

    I have some concerns and questions regarding the reinstall. Not only do I have tons of posts, but I also have pictures, comments, videos, etc… What steps would ensure a full, complete backup of WP before reinstalling it into its own folder? How would I handle my permalinks? I just want to make sure I keep all of my bases covered.

    Again, many, many thanks!

    Pioneer Web Design

    (@swansonphotos)

    It is crucial to always have a local backup of all WP files and your database each and every time you do site maintenance…one failure or a bad plugin can take your sites down, with a timely backup you can restore your site quickly.

    Use great care with all actions when working with your sites (think 9 times before editing files or db’s), follow the links advice, and always be able to restore your site(s) timely.

    Thread Starter blackop

    (@blackop)

    Thanks a ton Swansonphotos. As long as I follow proper backup methods than the move should be pretty painless…it seems.

    I’ll give it a go tomorrow and keep you updated.

    Again, many thanks!

    Pioneer Web Design

    (@swansonphotos)

    I am here to serve.

    Thread Starter blackop

    (@blackop)

    SwansonPhotos,

    I’m almost ready to move the wordpress installation and just wanted to check with you before I move forward.

    I read the walk-thrus and they were very helpful. However, could you clarify “updating permalinks”? Does that mean choosing custom, then defining: https://mydomain.com/wordpress/?

    Or is this not the way to change permalinks? That was the only option I saw when I logged in to my site. Again, I just want to make sure I have everything and understand it before moving forward.

    Again, many, many thanks!

    Pioneer Web Design

    (@swansonphotos)

    First ensure your server has mod_rewrite enabled and running (check with web host) and then review this on permalinks.

    Do not use the site url just the permalink structure, ie,

    /%postname%/

    Thread Starter blackop

    (@blackop)

    Thanks! I will make sure my webhost has mod_rewrite enabled and running before I move forward.

    Just to clarify–sorry, I’m new to moving wordpress around–to “change” my permalinks after the move, I need to choose custom and go with the default per the example you gave above?

    I can’t stress how deeply I appreciate your insight and help.

    Pioneer Web Design

    (@swansonphotos)

    Yes, select custom and enter your text properly in that box and save….see the permalink link I provided for what can be used for a custom permalink structure.

    Thread Starter blackop

    (@blackop)

    Awesome! You rock!

    I’m going to treat this with the respect it is due and focus on getting everything down pat before moving forward, indeed.

    I’ll use the link you provided as my guide moving forward.

    I hope to have the site moved by tomorrow, and I’ll keep you updated for good or ill. LOL. Again, I just want to make sure I have everything down pat. ??

    Again, thanks a ton!

    Thread Starter blackop

    (@blackop)

    SwansonPhotos,

    I created a new site last night on a fee-web solution to test the migration before actually doing it.

    Everything went well following the advice of the articles you gave me. However, all of my images vanish on the posts…which the article warns about.

    The article recommends logging into the database via PHP My admin and updating each individual picture. That said, I have over 900 pictures on my website. That would be quite a feat, and I’m not a database admin.

    So I looked for a plugin, but that did not fix the issue either.

    Am I missing something? Is there a plugin that will fix the links to the images? Even if I update the pictures location, it still hows nothing…which that also talks about in the article.

    This is the last “hold-up” I’ve come across after doing this location migration in a “lab” environment.

    Again, many thanks, my friend.

    Pioneer Web Design

    (@swansonphotos)

    You need to copy all folders with images from old to new…as long as you were not hand coding the href’s to the images that should do it /samefolder/samefile…do not overwrite any content there now….ie, if a folder exists, ftp the files in the folders.

    Pioneer Web Design

    (@swansonphotos)

    The reason for this is:

    If the actual files where somehow included in an export, that export file created could be very many gigabytes+ and unless you own the web host, that upload/import is unlikely to occur…not to mention the server processing time anyway…

    Thread Starter blackop

    (@blackop)

    What is odd is that is what I did. After creating the new folder, then updating WP’s URLS, I just moved all the WP files to the new sub-folder. The pics didn’t show before or after the update of permalinks. It really has me baffled.

    If it helps, I’m using 000webhost as my “lab” due to it being free. I didn’t touch the database. Odd… Everything works but images. And those had the default settings, so no customization.

    I wiped everything and started from scratch three times and the problem persisted.

    This is a pickle, indeed.

    Again, many thanks!

    Pioneer Web Design

    (@swansonphotos)

    blackop,

    Go to a page or post that the image is not appearing and view the source code….is the URL for the image correctly pointing to the file(s)?

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Linking to WP from Static HTML’ is closed to new replies.