I have a wordpress installation on a wp folder.
I need my clients write
www.example.com
in the browser, and the page
'about'
to be displayed, preserving the www.example.com address, not showing the www.example.com/wp/about/ address.
Which are the proper way to do this?.
You can assign it by go to setting -> Reading and choose the page you want to display at Front page displays. You can choose either page or posts.
Just update WordPress.
This bug is not present in current versions...
Related
I'm using a WordPress website and I got this issue, I'm not sure it's an issue or feature in WordPress.
When I enter my website name like www.example.com/page/1234234 (random number) or www.example.com/page, it is redirecting to the home page (www.example.com).
And also when I enter pagination in URLs like www.example.com/blog/page2 and it is redirecting to www.example.com/blog/page/2.
Can anyone explain this?
Its a default wordpress functionality, if you want to change it, you can use filters to change default wp urls
For some reason 1 page has different URL than all the others.
Its domain.com/en/page-name whereas WordPress shows it should be domain.com/page-name, this leads to that page being unreachable since its supposed to be domain.com/page-name.
Is there a way to change the address, where that page is located without having access to file server?
I only have access to WordPress website admin itself.
This happened after changing my site address from domain.com/en to domain.com and only that 1 page didn't change.
Kindly go to the settings and try changing the Permalink settings.
How do I hide the URLs for my WordPress images?
The reason why I want to hide them is because during the installation of WordPress 4.0 using WAMPServer, I followed several recommendations to help make WP more secure. One of these recommendations was to set a different Site Address and WP address (Settings -> General). For example:
WordPress Address (URL): hxxp://samoca.org/here
Site Address (URL): hxxp://samoca.org/
This works fine to disguise the folder containing my WP site. However, when I hover over an image on the site, it displays the true URL. For example:
hxxp://samoca.org/here/wp-content/uploads/2014/11/myimage.jpg
I tried setting the Attachment Display Settings to none but I'm still able to retrieve the URL by right-clicking on the image.
Being able to display the true image URL defeats the purpose of having different WordPress Address & Site Address. Any suggestions as to how to hide image URLs will be helpful. Thanks
If your purpose to hide that you're using Wordpress by hiding the path, you may try this one http://benword.com/how-to-hide-that-youre-using-wordpress/
You could try to use a plugin to do this.
https://wordpress.org/plugins/hide-real-download-path/
I have wordpress website on server, created pages and that's working fine, but when I download wordpress files and DB on local and want to run with localhost, permalinks for pages are not working.
It seems this is an old post, but this might help others that encounter same error.
Select:
Apache –> Apache Modules –> and that will display the lists of available modules.
Now just check rewrite_module.
source from WordPress Custom Permalink not Working in Localhost
Hope that helps.
Sometimes when copying from one server to another, wordpress' permalinks goes a little screwy, try setting them back to default (using the admin panel) and then setting them again to your desired permalink structure (being sure to apply the changes each time).
you need to go into the database and change a few options.
Goto your phpmyadmin installation and navigate to wp-options table. Change the siteurl and home options to your localhost address.
Wordpress needs these database tries to build your permalinks. If they are wrong, then it will direct your links to incorrect locations.
You can simply fix this by doing the following:
Go to settings in your WordPress site.
click on permalinks ( You will see the URL structures of your newly configured WP site. (if it shows your original website values, go to settings-> general and set your local site URLs
Don't do any changes, just click on the Save button.
Refresh your local site and click on your page link or post.
I have setup my site with 5 pages which are my menu options.
When running my WordPress site on my local host using MAMP, my url is:
http://localhost:8888/mySite/ or http://www.example.com/ (when I go live)
When I click on a menu item, it changes the URL to:
http://localhost:8888/mySite/MenuOptionA or http://www.example.com/mySite/MenuOptionA
How can I setup a Permalink or something else, so that it always just shows my main URL above without the /MenuOptionA when I have click on any menu options?
I basically would like my url to always just show http://www.example.com/ no matter what menu option is selected.
You can change you're site's url easily by adding in the following statements into wp-config.php
define('WP_HOME','http://www.mySite.com/');
define('WP_SITEURL','http://www.mySite.com/');
If you don't want to maintain two different config files, you can put a conditional in there to determine what value to use.