Permalink Linking Issues (Wordpress) - wordpress

My current blog is www.bostonsbettah.com and my current permalink set-up is http://www.bostonsbettah.com/%category%/%postname%/
Now, in a perfect world, the a post should appear as something like www.bostonsbettah.com/bostonbruins/boston-bruins-1st-line-playing-like-a-1st-line/ and that should take you to the post. When I click on the page title at the top such as "Bruins Blog", it should take me to www.bostonsbettah.com/bostonbruins/ that has an archive of all posts categorized as "Bruins". Currently, however, every page besides the home page is a 404 error.
Now I know I can fix something in the .htaccess file and I know how to access it, but I don't want to mess with it as I don't know how to code. Is there a fix someone can provide that will allow me to fix my website? Thank you in advance.

Never,ever,ever put your blog URL inside custom permalink structure!. You must use one of the structure tags, or a combination of tags only.
Read the documentation first.

Related

Can't implemented Blog list in wordpress using elementor to achieve a blog url

I'm not quite sure if this is the right place for me to ask this question but I'm really stuck with this problem.
As the title said I have a wordpress using elementor page builder but I can't achieve the right slug or url that I want. I want to achieve this:
[Site-url].com/blog > [Site-url.com/blog/article-title
but my current url always give me this:
[Site-url].com/blog > [Site-url]com/article-title
I already tried to change the static page and assign my blog page as blog list but whenever I try to assign it, the design that I make in elementor won't display instead only a normal blog list without template that show.
I read from the documentation but it give a design to achieve and I already tried that it still not solve my slug problem. in my permalink I use [Site-url]com/%postname% but I can't assign my blog pages. can someone help me to solve this problem?
It's simple go to wp-admin => Settings => Permalink and set URL structure like this
/blog/%postname%/
See the image ==>
https://nimb.ws/kX0qTe

Setting up wordpress categories URLs

I am working on a Wordpress application. I have created a custom page for articles landing page. The permalink for articles is working fine but I have problems when I click on a category name. For example: If I click on "jobs" category the URL looks like http://www.mysite.com/category/articles/jobs/. I want it to look like http://www.mysite.com/jobs/.
I am not sure if this is something I did that is causing this or just default wordpress behaviour. So, any ideas/suggestion how I can fix this?
Thanks.
I think your solution is either in this plugin or in its source code:
http://wordpress.org/plugins/wp-no-category-base/
It will work as long as you don't use the same slug for a page and a category (because they will in this case have the same permalink).

get variable from a wordpress permalink

i have this wp page that display the preview of the products and once click it will send to the other page with full details of the product. Actually this worked on not pretty permalink but hopefully trying to make it search engine friendly
preview page:
http://localhost/phone/brand
full page:
http://localhost/phone/specs
sample link:
NOKIA-3210
Then specs/full page will get the "nokia-3210" string from the url to use in the wp query. but this redirect me to 404 page.
How can I go about fixing this? I've read that this can be fixed using .htaccess also rewrite_api, I'm lil confuse what to use. Any help to point me to the right direction?
I've never done this but I would guess some changes in the htaccess file would be required to force all visits onto the specs page itself and not treat nokia-3210 as a post/page.

Wordpress url not including category on main page

I am new to wordpress so trying to figure out something which I cannot and asking you guys. Please help if you know.
I have issues with URL formation in Wordpress. I want to show articles' category name in URL, so I am using Permlinks -> custom structure which is like /%category%/%postname%.htm I then pasted code given by WP in .htaccess file. So now articles use http://mysite/category1/article1.htm URL.
But then on index.php any links inside article shows URL ashttp://mysite/article2.htm and hence 404. I am using >Article2 inside a post. If I open http://mysite/category1/article1.htm then above link will show as http://mysite/category2/article2.htm which is the correct URL.
Can someone plese help me figure out correct way? Using above configuration, it works fine for all links when open individual posts but only main index.php does not include category name. Just to note, URLs in Recent Posts also show correct URL.
If the links are hardcoded inside the article itself, there's nothing inside WordPress PHP or settings to change. You just need to edit the post content and update the HTML link URLs using the new permalink structure, within Posts and/or Pages tab.
You can also try a plugin like Redirection which will redirect old post permalinks to the new (correct) permalink format.
http://wordpress.org/plugins/redirection/

Wordpress - Renaming URLs on the fly

Im wondering if someone could give me a bit of advice.
Im looking for a plugin that allows me to rename URL's of posts and pages on the actual page itself, so they can go from:
http://www.example.com/post-here/
to something like
http://www.example.com/my-name/my-lastname/post-here
if that makes sense, i want to be able to name these URL's anything i want from within the post/page page.
Cheers
In the admin, inside options click on permalink.
Then you're able to set URL'S, to make something like your example this try :
/%author%/%postname%/
You can read the documentation to see all options
I'm not sure I completely understand what you mean but why don't use the redirection plug-in?

Resources