The urls tag has no wiki summary.
3
votes
1answer
81 views
Creating custom permalink structure for languages
I've written a simple multi-language system, whereby clicking on a flag icon sets a one year cookie containing a two letter language code (e.g. nl, de, etc).
I hook into the wp action to read the ...
3
votes
1answer
282 views
Preview Image Path in Admin Section
So I have run into a little glitch. i have a custom path for uploads and it works. the files get saved to the right place, etc. The problem I have is the 'widget box' in the admin section. immediately ...
2
votes
1answer
68 views
How to create custom taxonomy URLs without taxonomy name?
I have a website that lists businesses in different cities (this is a niche site, so all businesses have the same "classification").
For starters I created a CPT for locations and a taxonomy called ...
2
votes
1answer
71 views
Wordpress address URL keeps dropping the www
My Wordpress Address (URL) in general settings keeps losing the www from the URL - I type in http://www.domain.com and it saves and works fine.
Next time I go in the address has changed to ...
2
votes
1answer
110 views
Adding another word in front of post url
I have a wordpress website with bunch of posts.
My problem is that I need to change the URLs from
website.com/post-name
to
website.com/specialword/post-name
The "specialword" is what I need to ...
1
vote
1answer
52 views
WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)
I would like to use the WP native login/register/restore password/.. functionality, but display pretty URLs instead of wp-login.php
I've been looking at the core code and noticed that most login ...
1
vote
1answer
24 views
How to use all tags in post permalinks
My site with pictures is set up so that the posts do not have a title and have only tags.
I would like to know how to use all tags in permalinks settings?
1
vote
1answer
73 views
Disable page access via query vars
I'd like to disable the default WP query vars (p, attachment_id, etc...), and make the pages only accessible by URI Permalinks.
I've taken a list of variables from WordPress Query Vars and created a ...
1
vote
1answer
39 views
Organizing Your Pages
I'm having problems creating sub pages. So far I've followed the proper directions:
Go to a new page, click the "Page Parent" drop-down menu.
Select the
appropriate parent Page from the drop-down ...
1
vote
1answer
57 views
Multiple URLs with Numbers
I am trying to correct a problem on a Wordpress site which is producing duplicate pages in the format of:
/about-us/connecticut/3/3
/about-us/connecticut/3/3
/about-us/connecticut/3/
...
1
vote
1answer
69 views
Taxonomy in URL
I have a huge problem: I want to have nice URL's on my Homepage. I got a custom post type and taxonomies. Now I want to have a URL like that:
www. mydomain ...
1
vote
1answer
95 views
Get Taxonomy Term Title by it's URL
I have a URL - http://localhost/products/product-name/ and I want to use this URL to retrieve the title Product Name
This is out of loop, so the URL provided is all I have to work from. Product Name ...
1
vote
1answer
111 views
Which of WordPress's .php files need to be directly accessible via HTTP?
I'm trying to tighten up security on my WordPress installation, and one of the things that seems like it might be a good idea is preventing all of the internal-use .php files from being accessed ...
0
votes
1answer
14 views
Update permalinks after domain change
I installed my blog in a free hosting webpage, the hosting gave me a free domain and I used that domain in my blog, then I did buy a .net domain, I changed the URL in Settings->General of my ...
0
votes
1answer
35 views
How can I insert a dynamic URL in my email template?
I'm not sure if that's even possible, but I thought I should give it a try.
I'm using WP Better Emails plugin in order to create HTML emails for my buddypress website.
I want to add to the footer an ...
0
votes
1answer
46 views
Replace video url with video player
This is my plugin, this will replace the video shortcode format [video url="http://www.youtube.com/watch?v=sOnqjkJTMaA"][video] (Requirement is to show the video when a user placed a shortcode like ...
0
votes
1answer
40 views
Per Page Permalink Structure for Page Post Type
I am trying to Re-Write Page URL's so that they END with .htm
I was able to do this using...
/* Add .htm extension to Page URL Links */
add_action('init', 'htm_page_permalink', -1);
function ...
0
votes
1answer
34 views
Change the default video URL in a post to shortcode format
I want to add video from youtube/vimeo to my post.Whenever i add a video to my post ,there will display a link like https://www.youtube.com/watch?v=dsUXAEzaC3Q in my admin(Add new post ),and in the ...
0
votes
1answer
30 views
Broken image URL
I seem to be having a problem with broken URL links in posts for images. If you click on the image from the post you will see the URL but if you try to then copy and paste that URL it will show as a ...
0
votes
1answer
78 views
404 error on cyrillic url
I am using Another Wordpress Classifieds Plugin (awpcp) with Ukrainian translation. Due to it's limitations I am forced to use Cyrillic urls. While the site navigation works perfectly, when I reload ...
0
votes
1answer
48 views
Is there a list of all possible WordPress URL's?
I'm looking for a way to find out how my WordPress site handles various incoming requests, some of which I have not written templates for.
For example, there are a number of archive views (year, ...
2
votes
0answers
46 views
Removing hierarchical pages in the permalink
I have several pages set up in a hierarchy on my site. Currently the site's pages and URLs look like this.
Page name | Current URL | Preferred URL
...
1
vote
0answers
131 views
wp_insert_post - How do I prevent incremental numbers on child pages?
I'm using wp_insert_post to dynamically generate child pages for a given page using a predefined array of values. The goal is to give each child page the same slug.
For example, clicking "Generate ...
1
vote
0answers
57 views
Changing URL scheme, mod_rewrite not helping
We're trying to move away from the /YYYY/MM/DD/Post-Title URL structure without breaking links that are floating around on the internet. The mod_rewrite rule is fairly straight forward -
RewriteRule ...
1
vote
0answers
40 views
Need help enqueueing webfonts
I am attempting to enqueue web fonts that I am loading in via the WebINK font library. (This service is similar to Typekit). This service works by generating a unique CSS link for each unique site. I ...
1
vote
0answers
53 views
Pages redirected to attachment post
THE SETUP
I'm using WordPress 3.4.2 with Magic Fields 2 plugin. Using MagicFields2, I've added a custom field to the builtin 'page' post type. This field is called 'section_header' (which is ...
1
vote
0answers
84 views
Custom category URL rewriting
Here is the situation: let say I have a page called Press and that page has this url: www.example.com/press-center
Now, let say that I have a category Press (slug is press) and subcategory called ...
1
vote
0answers
80 views
How to create a custom url for a category
I took over a site that displays the category in the URL three different ways.
For some categories it shows "?category_name=blah". (Not ideal, but I can live with it)
For newly created categories ...
1
vote
0answers
33 views
category url structure
Is it possible to have listed all available categories on www.example.com/category/ request. Using the following url as mentioned in my example generating 404 error.
1
vote
0answers
55 views
WP_Query Attachment adds additional attachment count and need to link attachment to post url
I just wonder why WP_Query adding one more additional attachment with the defined number or posts. Also need to link attachment (thumbnail) to the post url. Here is my code
<?php
$query = new ...
1
vote
0answers
132 views
Retrieve/get current image from Nextgen gallery db
I thought that I can do it using the database where the idea was to get the image from the ngg_gallery_pictures table, where the browser URL is equal to URL of the image in the table.
Then I will get ...
1
vote
0answers
152 views
Using custom taxonomies to display hierarchical URLs?
I can't seem to get my custom taxonomy hierarchy working properly. It seems like many other have had this problem but none of their fixes work for me.
I would like to have a URL structure similar to ...
1
vote
0answers
55 views
ngnix Url rewrite doesn't work
on my server i have installed magento,which is in my root directory. then I created a sub-folder named blog in my site's server. access the blog url is:
http://example.com/blog ...
1
vote
0answers
32 views
menu using category and tags
I'd like to do (somehow) manual menus that would display all posts within certain category.
Eg, I'd have sections "applications" and "games" so now i can do this:
...
1
vote
0answers
184 views
Query two taxonomies via URL or link (ie. not via specific template)?
I've been banging my head about this, and have created a work around, but it would be much nicer for my site's organisation if I could figure this out:
I want to be able to query posts across two ...
0
votes
0answers
21 views
How can i do a search for tags in a certain category?
I'm trying to search for a certain category with a tag, how can I do this via url?
For example: www.example.com/?cat=1&tag=tag1
how can i achieve this using parameters in the url?
0
votes
0answers
27 views
Change URL of static page set as homepage
I've been on this one for a while and just cant seem to find the proper way of doing it....
I have a static page called 'digital' set as my homepage. I just want the home url to display:
...
0
votes
0answers
18 views
Change Wordpress's URL from “abc.com” to “abc.com/de”
I have a domain. Currently, the site loads at that domain's root-- abc.com-- but I want it to to load at abc.com/de because I intend for the site to later become international.
I looked already at ...
0
votes
0answers
23 views
Show a dynamic page
I have created a wordpress site, ( eg:- localhost/wp_events ); And have a page localhost/calendar , this page will show a calendar with events in each date, this events loading from an api request, I ...
0
votes
0answers
53 views
how to set up permalinks to contain special characters
I have been trying for months to make a one page WordPress site. This site has need for a special character set in the navigation in order to work. Each page is set up in an unordered list based on ...
0
votes
0answers
24 views
How to remove the extra characters passing in the Custom post type
I have created the custom post type and the custom taxonomy. Then I have created the template file in the name of taxonomy taxonomy-product-categories. I created the post type, then added to the ...
0
votes
0answers
23 views
Taxonomy Sub Pages
I have a taxonomy created like so:
/products/(Product Type)
Currently that URL will redirect to my taxonomy-products.php file in my theme.
I have created two templates so when the user goes to the ...
0
votes
0answers
55 views
change content based on url per plugin
I have a wordpress page that uses a custom template I created. The url looks like this:
http://localhost/custom
What I want to do, is have the content for this page change, depending on the action ...
0
votes
0answers
35 views
Remove child categories from permalink
I have a custom post type permalink setup which looks like:
.../post_type/%category%/%postname%/
The problem is that when I have sub-categories, it adds them in the URL.
Instead of:
...
0
votes
0answers
20 views
How make a link to meta_key for all meta_value
I have a meta_key = 'company', where meta_value = name of the company that introduces the user to order form.
Then these companies appear on the publication page (index-job.php).
How make a link the ...
0
votes
0answers
21 views
Link to the same page ( action=“whattowritehere?”=
I am really noob for web and just got jumped in the middle of it... so there are my code which is working perfectly without wordpress..but if i use it with a custom template the buttons actions didnt ...
0
votes
0answers
44 views
Rewrite URL to include custom field
I am using /%category%/%postname%/ permalinks.
Within two custom post types (and only those two), I need to append that URL structure with a third variable which will be from a custom field (provided ...
0
votes
0answers
36 views
Is it possible to let the WYSIWYG editor remember a history of the inserted URL?
Inside the WordPress WYSIWYG post editor there is the option to insert a new hyperlink through this dialog:
Now what I would love to have is kind of a history of previously entered URLs to not type ...
-1
votes
0answers
14 views
Adding custom filters like size , color to url in wordpress
our website address is similar to this http://example.com/wp1/ on click of filters like size:32 and color:green , my url should look like http://example.com/wp1/products/tv/32. Please suggest code ...
-1
votes
0answers
39 views
List custom post type URLs based on user form selection
I'd like to set up a form with dynamically populated radio buttons for all custom post types. Something like this:
custom post type 1
custom post type 2
custom post type 3
continued for all CTPs...
...

