My Site is Working well with url
www.softsystems.org/site&name
I wanted to make my site URL
www.softsystems.org/sitename
For this I cahnge Wordpress Directory Name site&name to sitename
but the site does not work,
I tried 2,3 times,Updated db Links,
I installed Fresh Wordpress, but no Success after 8-10 hours,
Please Guide me in this Regard so that I can get rid of this problem,
I would try these 2 options :
1 - Go into Settings > Readings, set the Front page to a another page then save. After, put back the Front page to the correct page and save again.
2 - I would do the same thing with the Permalinks. Go into Settings > Permalinks and change it to something else and save. After put it back to what it was and save again.
This is what fixed it for me when I got the same problem.
Related
I could create pages in WordPress, but whenever I take that corresponding URL
eg:BaseUrl/page-slug/
the page is not loading, also showing a 404 error. I set the permalink
hostname/%postname%/
I have used the same theme in my local it was working fine but in the server, it behaves like this. Please anyone can help me?
Would you please save permalin?
Step 1 : Goto wp-admin->setting->permalinks
Steps 2 : After save changes
This usually happens if something goes wrong with rewrite rules or your .htaccess file gets deleted. You should fix your permalink settings.
Go to Settings> Permalinks and click the Save Changes button. That should solve your problem!
I m developing wordpress site.. i created a page in that when i see it in without make it for frontpage its working fine but when i set it to frontpage some of that is not working.. visit: this link
and see bottom of page.. and see other pages bottom and menu as well...
than visit this: this link its working fine because not seted to frontpage..
thank you..
here is Edit: its now showing same in preview but still same problems are there.. i have updated links.. pls checkout.. you can see footer.. it only causes when i make it front page.
Disable W3 Total Cache, while developing a website
its both same in my browser but you still prblem then remove wp-catch or wp-super-catch plugin or other simulare to catch store plugin and remove all coockies and history of your browser after open this link
Ok I found a previous posting but there was no answer to it. Here is the posting I am having a similar issue : Why is my HREF address being changed
I am trying to set up a login page and I'm trying to link to my local host for now so I can test it.
the path to my connection file should be as such
../Connections/my_Localhost_test.php
but for some reason when the page is loaded it is showing this as the path name and the page name as this
C://..full path... /TMP4z9j7qnj5c.php
I don't understand why it would do that instead of throwing an error about not connecting to the database. I have tested the database connection and it works fine.
I would put this on a jsfiddle but I have multiple pages and I'm not quite sure what would be causing the issue so that I can add it there.
Not sure if this is related but previously I was also having an issue where when I click on a link that is a relative path it was changing the link in relation to the last page not the link that I clicked on, so something like this:
link 1
link 2
so if I'm on the page from link 1 and click on link 2 it was showing the page as not there because the url was redirecting to the main folder and then not going into the about folder and searching for the page in there.
Any ideas guys?
You can Define base url. Try this code :
defined('ROOT_PATH')
|| define('ROOT_PATH',"http://".$_SERVER['HTTP_HOST'].substr($_SERVER ["SCRIPT_NAME"],0, strlen($_SERVER ["SCRIPT_NAME"])-9));
And print ROOT_PATH before your href.
In case anyone else was wondering I got a response from Adobe on this issue. I didn't realize that Dreamweaver had this option. Here is their response.
That's a temporary page. It's created specifically for previewing.
You "should" be able to turn it off in the preferences...
Edit > Preferences >select Preview In Browser > uncheck the "Preview using temporary file" checkbox
EDIT: OOps, forgot the Preview In Browser selection.
This is the website url www.iaspirant.com .
So this will redirect to 404 page. Now the strange thing is when I do a login from wordpress wp-admin and then try to open the website then homepage gets load successfully.
So this happens only when a user is not admin.
Now in order to resolve that I googled lot and tried various approach but with no success.
tried to add 301 redirection in 404 page so that it will redirect to home page but this creates a loop
Try to delete .htaccess file but no difference
Try to change the theme to ensure whether its error in code but no success
If any one can suggest me anything then it will great help.
Try goto to /wp-admin/options-reading.php
And setup Front page displays as static page or post.
Do you have installed any maintenance plugin?
Did you check the permissions? try a permissions plugin
Go to settings->reading and see if you have set Front page displays your latests posts and not a static page
You just made a mistake in Param links:
Change your home param link to http://iaspirant.com/?page_id=428 and
then it would definitely it will wok.
Check also your static page in customization
go to apperence-->themes-->customization and set static page as your home page.
I have moved a wordpress site from /wordpress/ to / and it has worked except for the header navigation bar.
http://vashonschoolsfoundation.org/thank-you/annual-report/
If you click on of the top links (not one of the dropdown links), it takes you to a /wordpress/ url.
IE: if you click Thank you, it should take you here,
http://vashonschoolsfoundation.org/thank-you/annual-report/
but instead it takes you here:
http://vashonschoolsfoundation.org/wordpress/thank-you/annual-report/
The correct url (without /wordpress) works, but it isn't the one getting linked to.
All the submenu links work fine.
How can I fix this?
Note: when you hover over the top links, they say they will take you to the right links (in the url preview browser feature in most browsers), but they take you to the wrong (/wordpress) one.
I see that only two top navigation links redirects to /wordpress/ ('Thank You' and 'Contribute'). 'About' and 'Contact us' works correctly.
When clicking on 'Contribute' server sends Location header - Location:http://vashonschoolsfoundation.org/wordpress/contribute/give-today/
This header is set somewhere in you code or options that are saved in database. I don't think that the problem in database, because in this case all links will be broken.
Try to disable all plugins, switch to default theme and check the links.
Have you changed the "site address" in your Wordpress general settings?
Did you just move the files one directory up? Because there is more to it than just that. I've used these detailed instructions a few times to move Wordpress installations.
Dump your wordpress DB and then search replace old URL from the dump and then drop your current db and then import the corrected one.
Do you still have an wordpress under /wordpress/ folder?
All you need to do is make two changes in your database table wp_options
All you have to do is change the option_value field to the correct URL for the records with option_name=’siteurl‘ or option_name=’home‘.
Read the instructions in the Codex.