There is a problem in the page permalink in wordpress when i add page name it's permalink has to show like "www.example.com/page-name" instead of this it shows like
www.example.com/page-name-2 or -3 when i try to change it it turns back i think maybe this is a page but when i access the link it shows that it is a media file permalink of an image . Is there any solution of this sort of problem
Sure, this is possible quite easily.
Go to Media Library
Find the image this link refers to
When you click on it choose "Edit more details" in the bottom right corner
In the top right part of this page click "Screen Options" and enable the "Slug" checkbox
Scroll down to the slug box and change the slug name to whatever you like.
Click "Update" and voila
That sounds as if a page with that permalink already exists - check for it in the "All PAGES" list view and also inside the trash (for older, deleted versions)
Related
I have a front page with the slug "home," It works just fine if I go to www.mydomain.com/home. I'm getting "Page not found" for www.mydomain.com. I want to remove the slug "home" from my page so that I will be able to see it on www.mydomain.com.
I've tried to go to customize -> Homepage settings and set my page as a static page, but it didn't work. I also tried to go to Settings-> Reading and define it from there. How can I make it works?
You can assign your page from here:
Settings->Reading
and then you can see the
Home Page Displays
section. In this section you need to select the A Static Page(Select Below) option. In the dropdown you need to select the value Home (the page you would like to display as the Home page display).
After making changes you can click on the Save button.
[screenshot for reference]:
I want to use something like Feature Image in Wordpress 5.2.2 so I can optionally use that image as a thumbnail whn that page gets displayed in a parent category page.
Actually though I don't see that option anywhere on my page, neither in the document nor in the blocks sidebar. Is it something I need to activate and if so - where?
Just to explain what I understand with Feature image:
A page may get assigned 1 image that can be then used as e.g. a visual excerpt for that page and must not be displayed on the page itself.
Sometimes the featured image won't show up if it isn't checked in the screen options tab.
Once checked you'll then be fine to add your featured image to the page/post.
I want to show a category-page on the frontpage without the url changing (eg. redirect).
The frontpage should implement the categories' head and meta tags then and also the top menu should display the appropriate category selected. also there should be a canonical tag to the categorypage so no duplicate content will be generated.
short: the frontpage should exactly behave like a categorypage.
is there a solution?
You can create your own page template and set is as start page.
Go to:
Apperance->Customize
Then Static front page.
Choose "Static Page"
Then choose your page from the dropdown list.
If you need help look at this.
http://codex.wordpress.org/Creating_a_Static_Front_Page
In addition to Tan's answer, you'll need to go to Settings -> Reading and then select 'A static page' for the 'Front page displays' option. After that you can select your previously created page template from the 'A static page' drop-down menu.
When you finish the above, you'll have to edit the source code for the chosen file in order to include a standard wp loop. For more info, please check this thread:
How do I make a Wordpress Page act like the default home page displaying multiple posts?
To control which posts will be shown in the loop use the query_posts(). You can find more details here:
http://codex.wordpress.org/Function_Reference/query_posts
I'm displaying the content in wordpress, I'm usint the_content inside of the loop and everything is working great, I get an image and the text of the post.
The only thing that I don't want is that the image link would take you to the attachment page, I want the user to be directed to post permalink.
You can control the nature of the image inserted into the post via the Visual Editor. Click on the image, and select "Edit Image". Then, find the option for "image links to" (file, page, or none). Change from "page" to either "file" or "none".
Edit the post and change the URL the image points to. You can do this by clicking the little edit icon when you click on the image.
Alternatively, remove the image link altogether.
I created a page so that it would appear in my navigation menu. This page would however be my posts page (i.e. all posts would go here) and would also be my front page.
I am unable to find anything other than editing the 'Home' in the theme file (none of the themes I tried had the 'Home' editable).
In other words, I'm looking for something that would redirect all of my posts as a stream into my homepage that also has a link in the navigation menu.
I tried looking at a lot of places for help in this, however I couldn't find anything useful.
Thanks!
Under Settings -> Reading edit "Front page displays" to display "Your Latest Posts" then provide a link in your navigation menu to the root, mysite.com
If you want to style it you can use the editor to change the appearance.