A uniform resource locator, abbreviated URL, also known as web address, is a specific character string that constitutes a reference to a resource.

learn more… | top users | synonyms (1)

0
votes
1answer
138 views

replacing post ID by custom post name in url

I am stuck in replacing post ID by custom post name in url. link is as shown below: href="'.$url.'/'.$options['applyp'].'/?pos='.$post[$i]->ID.'" i need to replace ?pos='.$post[$i]->ID.' by custom ...
0
votes
0answers
100 views

Modify / Rewrite single template url structure

Is it possible to add the post category name to the the WordPress single template url structure if i am not using category pages to build the site menu? from www.domain.com/single-post-title to ...
0
votes
1answer
262 views

how to make URL link query string

I have pages with a custom meta field called "ctr_state", and it contains a state name, like "Arizona". I am trying to construct a hyperlink that will return an archive-like list of pages that match ...
0
votes
1answer
264 views

How do I include an external PHP file in a subdir Wordpress install?

I originally posted this on SO, but was directed this way. I have a Wordpress installation in directory /blog. I am trying to include multiple PHP files located in the root parent directory using ...
0
votes
0answers
32 views

Moving Posts to a new site and maintaining URLs

I am looking to move all my posts to a new site. The new site is sitting in a dev environment and will eventually be launched in place of the new site at the same URL. The blog posts will not have ...
0
votes
1answer
44 views

Duplicate content with the same URL, google authorship

I have recently added google authorship to my wordpress blog. When I search for specific posts on my blog, they come up with the post with my google+ picture and byline. On the other hand, when I ...
0
votes
1answer
247 views

Remove subfolders from URL

I am having a tough time removing the subfolders from the URL in my WordPress site. Currently, the URL format is: www.mysite.com/subfolder/index.php/category/postname I would like to remove both the ...
1
vote
2answers
531 views

Imported thumbnails have incorrect URL

I have an older WordPress site that is going away but I am taking the content from the site and importing it into my new WordPress site. To do this, I used the WordPress Export tool, located in my ...
0
votes
1answer
47 views

Rewrite rule for incoming urls

Part 1: How do I get people visiting my blog with http://example.com/archives/14073 redirect to http://example.com/?p=14073. Part 2: What about when the incoming link is like this: ...
0
votes
2answers
1k views

As soon as I add a custom query_var using the filter, my pages point to an archive page - why?

There are a million posts on the topic in this stack exchange, and yet for some reason I cannot get this to work for me. I wonder what I'm doing wrong? In my functions.php I define this: ...
0
votes
1answer
28 views

Need to check if user is on a particular page

Here I hope is a simple question for a php newbie. I have a textbox on my blog's home page that contains a link to another page. Should the visitor click the link and go to that page, I want to be ...
0
votes
1answer
122 views

How to add PHP pagination to wordpress

I'm trying to make a custom PHP pagination work with wordpress, the page in wordpress is a very custom one, not a post or a page, it's a select from DB that shows flowers, the styling is ok now, but ...
0
votes
1answer
169 views

WordPress Query String: get_posts('cat=5') vs WP_Query( 'cat=5') vs URL: /site/?cat=5

We can filter our posts with a URL query string: http://mysite.com/?cat=5 We can also use a similar syntax for get_posts('cat=5') and new WP_Query('cat=5').** get_posts('param=value'); just passes ...
0
votes
2answers
172 views

Preventing Canonical Redirect for CDN

I want to run my entire WordPress site through a CDN to improve performance (HTML, not just static CSS/JS/media). Lets say the origin server is example.com and www.example.com is the URL where traffic ...
3
votes
2answers
669 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 ...
0
votes
1answer
259 views

Custom rewrite rules for feeds of custom queries (query_var query strings in URL)?

Question updated. What I'm trying to do If I want to display posts (or a feed of posts) that belong to a category AND a custom taxonomy, or a category AND a tag, or a custom taxonomy AND a tag, I ...
0
votes
0answers
139 views

Rewrite a specific Post Format to URL slug

I'll cut to the chase. I am using Post Formats on my WordPress 3.6 site, specifically 'Video', which I want to include in the URL slug. I'm pretty well verse in WordPress plugin writing etc, but ...
0
votes
0answers
35 views

Wordpress Update Links

I just need a little help in WordPress query or a plugin which can update all internal links used as hyper link or directly with pages to WordPress normal url i.e ?page_id=69 I have created a website ...
3
votes
1answer
239 views

Why does wordpress still strip my query var?

Im trying to pass a query var to a custom page template with pretty permalinks. So basically i have a page called "albums". And i want to pass a query var to that page called "type". So the ...
0
votes
0answers
37 views

Custom Permalink Base

To enable all category, single and archive pages to render the url with a prefix of "news". E.g. www.yourdomain.com/news/category/post-name I set the permalink structure as ...
0
votes
2answers
59 views

Custom Post Type URL Rewrite's

I am going to try and sum up what I am trying to achieve... Basically I have a custom post type called 'marketing_list' which will have custom fields holding information relating to marketing lists ...
0
votes
0answers
109 views

Remove custom taxonomy 'post-type' from post URL

I want to remove custom taxonomy 'post-type' from post URLs like: http://example.com/wordpress/post-type/post1 to http://example.com/wordpress/post1 I have used lots of plugins and rewrote URL. ...
0
votes
1answer
23 views

Make Show Notes for Individual Podcast Episodes Easy to Find (multiple URL's?)

My show notes for a podcast will be entered as a new post (like a blog post) in Wordpress (.org - hosted through bluehost, domain registration at godaddy). The site is www.michellefit.com, but the ...
3
votes
2answers
1k views

Using URL parameters, list posts from category and custom taxonomy

For example, http://example.com/?cat=6&tag=books lists posts that belong to category ID 6 and tagged 'books' (i.e. posts that satisfy both conditions). Similarly, ...
2
votes
2answers
2k views

Using custom/dynamic “slug” for a page

I have a custom page which uses a template called "Stores" http://example.com/stores/. This page will have a list of states and/or companies as categories. For this system I have a custom post type ...
0
votes
1answer
183 views

Strategy for handling hierarchical pages with empty parent content

Let assume I have the following page structure /about-us (used as a parent holder only) /about-us/history (real page) /about-us/team (real page) /about-us/industry (real page) There is no content ...
-1
votes
2answers
52 views

Is there a way to schedule url to content updates?

I have a client that has multiple pages of content that will be changed on various intervals depending on the day and/or date. For example one of the pages is "Specials of the Day" They already know ...
0
votes
2answers
195 views

custom page url slug needs illegal ?id=1 for javascript

I have created portfolio page which contains a image-slid-menu for navigation. For an menu item to appear as open, javascript gets instruction like ?id=0 appended to the url. for instance ...
0
votes
1answer
71 views

How to redirect homepage to actual URL?

I have a stupid problem. In the custom header template I include on all pages are some images. When I set the links to the images as images/image.png it works on the homepage but not on other pages. ...
3
votes
2answers
337 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 ...
0
votes
1answer
71 views

Hide pages from google and visitors

I have wordpress site where i have few custom type pages. I load the content of those pages with jquery load. But I dont want that those pages are directly visible. So if user goes to ...
0
votes
1answer
40 views

How to eliminate the Web Address / Web Link textbox from comment forms

I tried this below but it does not work. I added it to my functions.php in my mu-plugins directory. <?php // to remove website textbox from Comments form add_filter('comment_form_default_fields', ...
1
vote
2answers
211 views

Wordpress not opening posts with only numbers if permalink is post_name

Someone knows why this happens? For instance, I have a post called 1987, but it does not open it when I click on the link. When I use a different permalink structure, it opens it. Why is this and how ...
0
votes
0answers
149 views

Forcing Wordpress Administration onto a separate SSL Host

I've inherited a half-dozen or so wordpress sites. In a perfect world I would just put every one of them behind SSL throughout but I don't quite have enough IP addresses to go around and SNI will cut ...
2
votes
2answers
163 views

Use image url with add_image_size

I am looking for a way to use an image url with the WordPress function add_image_size, I have already setup an image size called 'custom-thumb' For example, instead of... the_post_thumbnail( ...
0
votes
1answer
15 views

Unnecessary url

$alt_text = get_post_meta( $id, '_wp_attachment_image_alt', true); $output .= '<div class="pslide"><a href="' . $alt_text . '"><img src="' . $img_attr[0] . '" ...
2
votes
1answer
592 views

WordPress Custom Post Type Category Page

I was hoping someone could help me. I have done some serious googling but cannot find the answer for this one. I have a custom post type called tutorials. I can go to mysite.com/tutorials and get a ...
0
votes
0answers
13 views

Setting up a virtual subdirectory to display identical content as root directory [duplicate]

We have a standard Wordpress installation being used as a CMS. We're using standard pages with basic permalinks (e.g., /page/ or /parent/page/). We'd like to have that exact same content mapped to a ...
0
votes
0answers
33 views

How can I process all requests for a given directory in a URL with my plugin?

I'd like to pass all requests for a given directory using a plugin or template file. For instance, all of the following requests would be sent to the plugin: mysite.com/directory/blah ...
0
votes
1answer
93 views

Temporary download page or restrict static download page based on how the user got to the page?

I basically want to know it if is possible to create a system where either when a user wants to download something it creates a temporary download page (not a download link, this I want static - I ...
0
votes
0answers
104 views

Cannot get query var 'post_type' to work

I am struggling to get the post_type query var (as referenced from http://codex.wordpress.org/WordPress_Query_Vars) to work. This is what the URL looks like: ?s=microsoft&post_type=bg but it ...
0
votes
2answers
827 views

page url in shortcode

I have a problem. I'm using a custom shortcode to try to get the url. If the shortcode is inside a post then it gets the post url. When I open the post on a category list, this post shortcode works ...
0
votes
1answer
146 views

Unwanted Links and Spam Wordpress Pages and Posts

In webmaster tools I have a number of crawling errors of the Google spider. for example http://mydomain.com/my-page/de/roulette.html They say they cannot crawl to this page.. but what kind of page ...
0
votes
1answer
80 views

Post/Custom Post Type URL Access

Is there a way to prevent people from visiting a post's permalink? A lot of times we create posts or custom post types that end up being included as part of the content of a page or some other ...
0
votes
0answers
25 views

Display Plugin information on specific url

So I created a WP plugin with its own unique DB tables. I chose this approach as opposed to using a custom post type because of relationships I needed between the tables. So I'm not even sure how to ...
0
votes
1answer
39 views

bloginfo no show the right path

I use bloginfo( 'stylesheet_directory' ) for show the link to css styles , in localhost in my computer i can see the url right as http://127.0.0.1 , etc The problem it´s inside of domain , i see ...
1
vote
2answers
1k views

WPML Get url without outputting

I am in the process of migrating from qTranslate to WPML to handle my languages. With qTranslate, I had a very simple way to get an url to a page or post knowing it's slug: $url = ...
0
votes
1answer
38 views

How can I make my blog urls have words of the title in them?

I just started a new blog and all the urls look like this: sitename.com/?p=1 But how do people make the url have the title of the blog Thanks!
1
vote
1answer
298 views

Set template based on query in URL

I want to be able to force WordPress to load an page/post based on a query in the URL. www.mywordpresssite.com/posts/myarticle?template=custom This URL should load the myarticle post using template ...
0
votes
0answers
288 views

URL with without www shows just a blank page

i have a little problem with my wordpress page... when I enter the URL with www, the page is shown the right way. But when I enter it without www, then it shows just a blank page and the source code ...