Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I need something like this example.com/postname/id/2
I know that I can use example.com/postname?id=2 , but first example url is more friendly.
Is this possible do with .htaccess ?
In the admin panel:
Options > Permalinks > Common options > Choose the one you want
Anything in that format will end up causing complications with if not outright breaking the Wordpress pretty permalinks. You would probably need to add a bunch of regex rewrite rules to htaccess as well. Why not use a hash or query based url # or ? followed by the parameter(s)?
It's easier than you think. Take a loot at WordPress Codex about how to use Permalinks. It's pretty easy to achieve what you want.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 months ago.
Improve this question
Rank Math SEO plug-in that we're using has an option to enter Post ID for the pages that need to be excluded from the sitemap.xml. But it doesn't seem to be working.
Is there a standard way to do it?
If your link is in the sitemap.xml and you want to remove the link, please do and check the following steps.
Make sure the sitemap.xml is not cached if you are using any cache plugin, check these steps
for excluding the post or page from the Rank Math plugin please follow this document
Also, as I recommended please set the page as no follow, no index by doing these simple steps
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I have a Problem with a Wordpress-Site. I have tryed and searched but i d'ont can find a Solution or serious Answer - nor Advise for my problem.
I like to change the Wordpress Site-Title. (I have a local Site to try this out...)
I have crashed the site 2 times.
The Title is now something like: "nicesite". i like to have "nice site"
I use the html on pages Plug-In, with Post-Name Permalink Structure.
I ask because i dont like to beginn from start again if i make mistakes again.
Why is Wordpress so much sensible in this things, i know it writes all in a database, but this is realy a big minus for the Wordpress-System.'
thanks very much if someone can explain me how to do, on local and live-Site's.
Go wordpress Dashboard-> settings -> General . Now enter site title
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
If a aged ranked page in Google is something like http://website.com/fun.html
and I change it to http://www.website/fun will this affect the rank or previous juice?
I ask because we are rebuilding a site for a client that has been around for many years
with hundreds of pages with urls like that. Basically its taking of the .html
Also we have a link like http://website.com/books.html I'm assuming
if we change it to http://website.com/services/books.html it will completely
destroy the SEO, am I right?
Ps the new site is a wordpress.
The direct answer is: Yes. Google looks at fun.html and /fun/ as 2 separate pages. To associate the two pages you will need to add a 301 redirect from fun.html to fun either in your WordPress roots .htaccess file or you can install a plugin to take care of it for you.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
While trying to get friendly urls in WordPress I jumped into this http://wordpress.org/support/topic/duplicate-category-slugs-desperately-needed-will-this-ever-be-fixed
So the question is, how bad is from the SEO point of view to use something like this...
mysite.com/cars/1-honda
mysite.com/trucks/2-honda
mysite.com/motors/3-honda
No one can really answer your question, because Google doesn't publish much about how PageRank works, and for good reason.
That being said, I don't see why something like that would be a problem. It still incorporates the keywords you're trying to use into the URL, and the superfluous number isn't likely to detract from that; many websites put numbers in URLs for internal purposes. While it arguably distracts from the human aesthetics of the URL, I think you're worrying about nothing when it comes to SEO.
The numbers won't hurt you as far as SEO
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I currently have a blog at blogger.com with a custom domain name. I have decided to manage my own blog using wordpress to be able to fully take advantage of all the cool wordpress plugins. Note that I am moving my domain as well. I won't be purchasing a new one.
I experimented a bit and found out that I can replicate the blogger URLs on my old blog and use the same on my new wordpress blog. For example, a Blogger URL for an article would look something like mydomain.com/this-is-my-title.htm. Wordpress url can also be manipulated to look exactly like that.
But still, as a precaution, I want to know if this move can still affect my ranking on search engines (not that there's much to speak of) in a negative way.
Noob with SEO stuff. Any help would be greatly appreciated. Thanks!
If you do complete replication of all URLs it should not be affected at all. For the URL's that you can't mimic but you know they are indexed - set up your server to fall back to the main page of your blog.