-
AuthorPosts
-
October 15, 2015 at 12:51 pm #626792
For my now live staging site:
http://s595429810.onlinehome.us/WordPress 4.3.1 / X Integrity
It’s password protected just to avoid getting indexed for now, but not a secret so no privacy concerns:
id: hidefornow pw: letmeinHere’s the issue:
* Links to images were broken on Home Page. This was easy to fix manually.
* Links to other pages, as well as clicking on Cornerstone to edit, result in not found pages.
* Upon migrating my site from my local host in XAMPP to the URL, I did update wp-config with the proper database parameters. And set the General Settings to the new URL. As well, I fixed the home/url info in the database via phpMyAdmin.
Is there something else particular to the X theme that needs to be done?
Thanks,
ScottOctober 15, 2015 at 2:10 pm #626930Hi there,
Please check on Settings > Permalink Settings if you have selected the correct format that fits the link of your pages.
If this doesn’t work, please provide us with the login details for your admin section so we can look into this further.
October 15, 2015 at 3:34 pm #627060This reply has been marked as private.October 15, 2015 at 4:51 pm #627163Hi there,
At the bottom part of the Permalinks setting there is a notice that mentions that your .htaccess file is not writable. Can you please try do to the instructions given there? You will find your .htaccess file in the root directory of your wordpress installation.
Let us know how it goes.
October 15, 2015 at 5:53 pm #627246Perfect. So you’re saying if I just pay attention and read what’s on my screen I’d have less problems??? : ) My second support request – while I try to get our site going – answered quickly and in a way that gets me going. Thanks.
—–
While there’s likely a variety of ways to break your links, for others who happen across this thread based on search for broken links, here’s what I had to do. You might have other issues, but just stuff to look at if you have similar situation. Note: I use both Windows and Mac OS so things can be different, but for this issue I happened to be working on my Mac. And in this case, using 1and1.com as a hosting provider.* The instructions in the Settings > Permalinks area of WordPress had an error message at the bottom. (I hadn’t noticed this and as you may see above, the X support folks had to point this out to me.) Basically, I wanted to use the “Post Name” style of links. This requires allowing “rewrites” on the server, and a server might not have that set up initially. In my case, this is what I needed to have the server do…
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>* Depending on your access level to your server, there are different ways to do this. One of them is to add these lines to the .htaccess file. This file is used to control some functions of a site and anything you put in there will also apply to sub-directories.
* The problem on a Mac is you can’t necessarily see these “dot files” that start with a dot or period in the Operating System. (Though I could see it when I downloaded it via FileZilla in the FileZilla download area.)
* To allow seeing this file on my Mac in the Finder, I followed the instructions here:
http://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/which were basically to:
1. Open Terminal found in Finder > Applications > Utilities
2. In Terminal, paste the following: defaults write com.apple.finder AppleShowAllFiles YES
3. Press return
4. Hold the ‘Option/alt’ key, then right click on the Finder icon in the dock and click Relaunch.This worked for me and I was then able to see the .htaccess file where I’d downloaded it, and then edit it in a text editor. Then upload it to the root directory of my site.
This solved the problem of my broken links.
Hopefully this can help someone else with a similar issue.
October 15, 2015 at 7:53 pm #627326Hey Scott,
We appreciate your time sharing this experience of yours. Sure it will help others with same issue. 🙂
Cheers!
-
AuthorPosts