Articles of permalinks

How to remove the link of an image on WP 4.2

I’m using WordPress 4.2 and I’d like to remove the links from some images. I’ve seen that I could use this : The problem is I don’t see that on my interface : Where can I find the same attachement display setting in WP 4.2 ?

Add URL Rewrite Rule To WordPress

my link http://localhost/abm/?ct_city=la-jolla&search-listings=true i want to this http://localhost/abm/USA/la-jolla Could you help please.. htpaccss file # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /abm/ RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /abm/index.php? [L] </IfModule> # END WordPress

Add %taxonomy% in custom permalink structure

In default wordpress support %category% tags in custom permalink structure. I need to use %taxonomy in permalink structure. How to do that? Is there any filter are available?

Unabled to Change Permalinks – Even Using the “Edit” (Resets to Original Permalink on “Update”)

I have tried everything in every post I have been able to find about changing permalinks for existing posts and pages. I have gone to settings and change the permalink structure in hopes that it would reset it. This had no effect on “Pages”. If I change the title do “Page Title”, then click the […]

How to get permalink in foreach loop

What to do in situation when I don’t have an ordinary if-while loop, how do I get permalink? $page_children = get_page_children( 8, $all_wp_pages ); foreach( $page_children as $page ) : echo $page->post_title; the_permalink(); endforeach;

Link to the post displays ID instead of slug

I’ve met a strange error on my page. After I do an internal link in my site, like that in the page editor <a href=”/page-name”> then in the page source code it displays <a href=”/?page_id=784″> instead of the slug. Have anyone met something like that? How can I change that to display slug instead? I […]

Add custom query vars to pretty permalinks

I am creating a wordpress plugin where i have some custom query strings appended with the urls to achieve the desired functionality.I require pretty permalinks like post name in the wordress settings. How i can achieve that ? I have used some of the wordpress built in functions but that does’t work for me. i […]

Access or edit custom generated permalinks with WP_Rewrite

I want to create custom permalinks for my plugin using WP_Rewrite. I found the codex the have great examples and this stack topic also explained a lot to me. Currently I’ve got the following code based on the codex and update 3 from the stack overflow question: add_filter( ‘rewrite_rules_array’, ‘custom_permalinks’ ); add_filter( ‘query_vars’, ‘custom_query_vars’ ); […]

Permalinks not working in WordPress

In wordpress I’ve chosen “Day and name” for permanlinks but I am getting 404. The modrewrite module is loaded, the .htaccess is -rwxrwxrwx 1 www-data www-data 274 nov. 23 13:10 .htaccess i have put htaccess to 777 temporarily just to solve the problem but still it doesn’t work any suggestion ?

Get Posts Based on Tag Matching Page Title

I have the following written to retrieve a list of posts that match the title of the page, by their tag. The problem is it does not play nicely with tags that have multiple words (and perhaps special characters too but I have yet to run into that). <?php $title_post_tag = new WP_Query( array( ‘tag’ […]