My wordpress website displays only the homepage - wordpress

I have created an additional pages for my portfolio yet the permalink on the site only links to my homepage. Any time I even want to preview one of my other pages (unpublished or published), it takes me to the same homepage. Any advice?

I think you can check permalink settings.
There are several ways to use links in wordpress.
You can find permalink setting on admin dashboard/settings/permalink.
If you can't get any improved, I recommend that you 'd rather check console in developer mode on your browser, fix all the errors.

Related

How to fix wp-admin not coming in the url issue in wordpress?

I am working on wordpress website https://www.iskconujjain.com suddenly some issues are coming although I have not done any major change in the website.
wp-admin are not coming in any admin url.
I am trying to change the Permalinks setting but it is not saving.
All pages are redirecting to home page although in the url having another page path.
for solve this problem you must regenerate permalink-
For solve it go to Settings > Permalink and save it.
Let me know.

All pages and posts in Wordpress redirect to homepage

I've been having this problem a couple times now and I'm not sure what is causing it. I have tried disabling all plugins, resetting permalinks, and resetting to the default .htacccess file but this time I seem to not be able to fix this issue.
Whenever I try to visit any post or page, instead of displaying a post at /post-name/ it displays a list of my latest posts.
I thought I read about the publishing dates affecting this once but I'm not sure.
Any help you could provide would be awesome!
edit: I've installed and activated a different theme and it did not solve the problem. I still see a list of lastest posts on every page/post.
If you have the Yoast SEO plugin enabled, try deactivating it or making sure there are no links with permanent 301 redirects to Home

[code][/code] tags changes the posted code

I wanted to add codes to my wordpress.com hosted blog in a code friendly way. So I found this page since I can't use plugin. https://en.support.wordpress.com/code/posting-source-code/. First this worked as promised. But later I checked the blog's code it has been change some codes replaced with symbols like below one <servlet> I don't understand the reason for this because for a time it works as it promised. Below is how they looks in the blog site.
What I want is to show codes in a friendly way in my blog since I can't install plugins in my blog.
This is a known issue with the new Calypso editor on WordPress.com. There is an open GitHub issue for it here.
If you make sure to only edit the page in the traditional WP-Admin interface your code should not be changed.
Edit: The on-page edit link only goes to Calypso now, so to edit a post in WP-Admin, add /wp-admin to the end of your site URL and type it in your browser. Then go to Posts ->All posts (or Pages) to edit existing content.
Some older accounts still show a link to WP-Admin when you click on My Site(s), but if your account doesn't, you need to use the direct link.

WooCommerce breaking Wordpress Admin

I've made a clean install of Wordpress on my server and added WooCommerce plugin. Now, some of the pages in the admin panel doesn't display correctly (Dashboard, Media, WooCommerce, etc.).
This is a clean install, only WooCommerce plugin is active.
Do you have any idea why this is happening?
Thanks
Ok so there is VERY little information to go on here so here is the general "Wordpress Broke" debugging guide.
Disable WooCommerce and see if Wordpress goes back to normal. If this is the case then you have to Reinstall WooCommerce. This is where http://docs.woothemes.com/document/known-conflicts would come in handy
If it is still broken without any plugins then you have to check your directory permissions, file structure, and URL Structure.
99% of the time chrome devtools will be your best friend for debuging these problems. It looks like you are not loading some of the core CSS files so lets look to see if you have a a 404, 403, or 500 error when chrome requests them.
Open up chrome and go to the Wordpress admin
Right click anywhere on the page and "Inspect Element"
Look for the red error icon on the right side (top/bottom) and click it to expend the console.
You will probably see the failed requests in there. Make sure the requests are for the correct urls, such as: http://yourdomain.com/wp-admin/load-styles.php or http://yourdomain.com/wp-includes/js/thickbox/thickbox.css
If that are valid URLs and you have verified that the files exist on the server then you have to check directory permissions: http://codex.wordpress.org/Changing_File_Permissions
Best wishes, let me know how it goes
I have seen that problem quite a while right now. You can try adding a specialized theme that has WooCommerce support like BootFrame Core theme. Or any other themes supporting WooCommerce -> https://wordpress.org/themes/search/woocommerce/ . Once, I used a WooCommerce, installed the plugin before changing any theme and had to create a new DB because the one I made before got corrupted due to the theme not working with WooCommerce. It's just a rare case but it can happen.

WordPress with Yahoo! Hosting... Almost there

EDIT:
Yeah, so this problem is really unsolvable. Yahoo prevents access to .htaccess, even from WordPress itself trying to change it. I had to settle for writing a script on the default homepage that redirects browsers to "www.abc.com/index.php" if they go straight to "www.abc.com". You always have to deal with "index.php" being in the address bar but it's better than not having permalinks...
/EDIT
Yahoo! Small Business hosting seems specifically engineered to make WordPress difficult-- but it's my client's host and there's not much I can do about it. I'm trying to move WordPress into the root directory, and I'm sooo close to having it done.
I've read and read and read about how to get the Permalinks to work right, and since Yahoo! hosting doesn't let you modify htaccess I am pretty much up s*** creek. I'm using the simple permalink structure of "/%postname%/", which once I moved to the root, stopped working. I have changed it to "/index.php/%postname%/", which allows you to see the pages if you manually type in index.php before the page name or if you are logged into the admin area and "View Page". Also, the correct permalink shows on all of the pages in the editor.
However, WordPress doesn't let you change the permalink of the static page you use as the front page.
Long story short, if I go to "www.abc.com/index.php", the links in the menu all work fine. However, if I just got to "www.abc.com", the links don't pick up the "index.php" from the permalink structure. I need to fix this, so if anyone knows how to either:
Change the permalink of the static front page
Fix something in the database if I install PhpMyAdmin
Work around not having access to .htaccess
Put a small script somewhere on the index page to append "index.php" to the url
Any other suggestions
It seems it would work if I was NOT using a static front page but rather the blog, but this isn't an option. I've tried changing the "Tag base" setting to no avail, as well as deactivating the Yahoo! Custom Permalinks plugin (and reactivating it again after that failed...). Could really use some help!
Check out Giving Wordpress its own directory. I can see how this could solve your problem. Also make sure that you have done the obvious, and change your url for WordPress address (URL) Site address (URL) inside the general settings page. Perhaps the static homepage should be developed outside of wordpress, and then you can follow the steps provided in the link I provided. Hope this solves your issue.
Yahoo doesn't allow users access to the htaccess file which means that you can't the mod_rewrite rules needed for custom permlinks. The Only way around it that i've heard it works (never tried it myself) is to add /index.php/ to the beginning of your custom structure so: Go to Permalink Settings > Select Custom Structure. And set the value as /index.php/%postname%/ or what ever you want as long as you add /index.php/ before it.
Hope this helps.
I had a similar problem with this host (in 2018! 4 years after your question) that I finally solved by changing the permalink settings.
Settings > Permalink Settings > Custom Structure: /index.php/%postname%/
I wish there was a better solution but Yahoo Small Business still doesn't allow .htaccess files - after several frustrating rounds with customer service, I finally admitted defeat and used this work around.

Resources