0
votes
0answers
4 views

Are there some permalink typology betther than other for SEO indexing? [migrated]

I am pretty new in WordPress and on my blog I am using permalink. I have see that there is 5 typology of permalink and I don't know if some type are bettere than other for the search engine that have ...
0
votes
0answers
140 views

How to change the permalink structure of the default post type

This Custom permalink structure only for default posts looked like the perfect answer: add_action( 'init', 'my_new_default_post_type', 1 ); function my_new_default_post_type() { ...
0
votes
1answer
36 views

Overwrite URL on blog posts

I would like to overwrite my URL on single blog posts. At the moment my posts are displaying as www.mydomain.co.uk/post-title, however I would like them to be as www.mydomain.co.uk/blog/post-title ...
0
votes
1answer
205 views

How to redirect image attachment to its original post

I'm making a slider that is getting images from attachments in the post. I am trying to rewrite the url for the post so that if someone pastes the direct url to the attachment, it'll go the post ...
1
vote
2answers
438 views

add_rewrite_rule and template redirect not working

I have a strange problem , I have the following pairs : add_rewrite_rule('^questions/ask/?','index.php?pagename=ask','top'); if(is_page('ask')){ $tname = 'add-question.php'; ...
1
vote
2answers
643 views

Custom permalink structure only for default posts

Does anybody know how to modify the url struct only for the single post page? When I go to a post page, the url should look like: example.com/xxx/my-post. All other urls (with the exception of the ...
3
votes
1answer
1k views

Pretty URL with add_query_var

I'm trying to add a 'sub post' to each post on my site, eg site.com/product-one/changelog site.com/product-two/changelog site.com/product-three/changelog This is the code I'm using atm, which I ...