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)

1
vote
0answers
116 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
65 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
1answer
58 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
0answers
127 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
1answer
101 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
2answers
391 views

Change code to display image attachment page

I have this code which displays images with their captions in a list. On clicking caption, opens image in an attachment page, but clicking on image, opens that image with a dark-gray background. Is ...
1
vote
0answers
262 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
165 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
1answer
92 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
150 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
0answers
47 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
71 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
189 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
296 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
65 views

How to direct to any page [duplicate]

How to direct to login page and go to destination page? for example: if user click any URL who that user not yet login, direct to login page. After, sign in, user continue directly to page that user ...
1
vote
0answers
63 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
42 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
1answer
478 views

Custom Post Types, URL rewrite on multiple CPTs

Re: Custom post types, taxonomies, and permalinks by @TheDeadMechanic The solution above works perfectly, and rewrite is great, but can you advise on how to rewrite for more than one custom post type ...
1
vote
1answer
649 views

Open Wordpress 'Add New Post' admin page with parameters set via $_GET

I want to launch my web browser from an automation tool I use and open Wordpress "Add Nwe Post" page in the admin area with specific title and content (it varies everytime, I generate it dynamically ...
1
vote
1answer
218 views

Best structure / rewrite rules to achieve the following url

I have been trying to achieve the following url structure in Wordpress and maintain a level of reusability in the admin area. It is for a client preview area and needs to reflect multiple versions of ...
1
vote
1answer
718 views

Permalink doesn't get displayed in Twitter button (Local WordPress problem?)

I'm trying to add a custom "Tweet this" button to my WordPress posts. I'm sticking to the official Twitter guidelines. Here is what I'm actually trying to pull of; I don't want the button, I want a ...
1
vote
0answers
56 views

Entities in URL… why? [closed]

A user creates a post with the following url: http://mysite.com/entry/we’re-here/ However, my text editor converts it to this automatically (I'm using the url somewhere else in a cut and paste): ...
1
vote
0answers
321 views

How to move wordpress blog under IIS 7 sub-folder [closed]

I have installed wordpress under wwwroot/mydomain.com/wordpress and bind it to mydomain.com port 80 under IIS 7. Then I change to bind wwwroot/mydomain.com to mydomain.com instead and change site ...
1
vote
2answers
1k views

How to add URL-Parameter for Javascript Widgets?

I need to add pamarameters to URLs that are read by javascript widgest/gadgets run on the site. Whenever I just add them e.g. the original URL is http://example.com/blog/page/ and the parameter is ...
1
vote
1answer
60 views

URL / Templating system advice [closed]

I am trying to set up my blog so that the following URL pattern: http://myblog.com/category/somecategory/ Will use the template file category.php I have created the template, however, when I ...
0
votes
2answers
4k views

Moving wp-content outside of web root?

Is it possible to move the entire wp-content folder outside of the Web root? I need to prevent anyone to view any asset file (images, pdfs, movies etc) with a direct url to the file... Any ideas? Or ...
0
votes
2answers
5k views

How to set global variable in functions.php

I want to be able to echo the URL of the featured image of a post and after looking some on the web I found the following which works fine when I put it in a loop in my front page template. <?php ...
0
votes
3answers
429 views

How to get url of a post from admin panel

I want to get post url from the back end edit post page, the edit post url is : www.ddd.com/wp-admin/post.php?post=1&action=edit the real post is: www.ddd.com/wp/?p=1 since the user can edit ...
0
votes
3answers
155 views

In Settings>>General I am missing some fields

I am new to Wordpress and downloaded the 3.5.1 version from my hosting provider. I want to add www in front of my domain and I read from many sources how to do this. Go to settings then general and ...
0
votes
5answers
4k views

A way to change image urls in post to cdn image url?

due to some reason my hosting company isn't able to fix if i use w3 total cache or w3 super cache for caching my site's sql usage keeps on peaking.... and on high spikes servers gets laggy and down ...
0
votes
3answers
2k views

Have multiple category queries from the URL been fixed yet?

Is it now possible to query multiple categories from the URL? http://www.mywpsite.com/?cat=1+7 ? I think this has worked for tags for some time. If not, is there another way to achieve this?
0
votes
2answers
2k views

Get taxonomy slug from url

Sorry I'm new to taxonomies & trying to learn quickly. I've set up sectors and assigned a post to it. If I go to the post, I can see the URL has www.mydomain.com/sectors/auto/ How can I get auto ...
0
votes
2answers
1k views

mod-rewrite exception? keep #hash in matching urls?

Hey guys, My WordPress permalink structure is set to `/%postname%/. When I create a page with a name "FAQs" the permalink generated is "mydomain.com/faqs". When I link to this page in my code ...
0
votes
2answers
1k views

how to grab first link in post… and of course call it

I have been trying to get the answer to this for ages now and wondered if anyone here could help. I would like to 'grab' the first link in a post and attach it to a button/image. I have tried the ...
0
votes
3answers
80 views

Changed Wordress Address URL Accidently

Accidently, I have changed my wordpress address url from my dashboard. Now I am not able to sign in to get it changed. This is where I have installed wordpress - http://www.abc.com/folder, but ...
0
votes
2answers
1k views

How to redirect visitor to a custom URL using PHP code in functions.php

The users have to be redirected to a custom URL which I already know (its part of the programming logic). I just need to know which WP function to use/ what php code to use to redirect the user to the ...
0
votes
2answers
202 views

WP Nav menu append to url

Using wp_nav_menu() , how can I append a value at end of each URL? For example, I have the following url: http://www.example.com/ but I have to append a language parameter at the end, so the url ...
0
votes
1answer
355 views

Why is WordPress saving full-urls to the database?

Every time im about to put my local project into staging/production environment im beeing hardly reminded that WordPress saves all the urls as absolute.So i need to rewrite all the urls with a ...
0
votes
1answer
177 views

How to properly print a 404 error without redirecton? (i.e. keeping the current URL)

There are some pages on my BuddyPress install that I would like to hide by printing a 404 error. With the help of the following question: Redirect Restricted Page to 404 I came up with this code: ...
0
votes
3answers
329 views

Wrong url in sortable column headers & pagination in the admin, when behind a proxy

Recently I changed the url of my site from atlas.site.com to site.com, one thing I just came across in the admin area for posts, custom post types, pages, where there are more than one page of posts, ...
0
votes
1answer
245 views

Rewrite /category/cars into /topics/cars

I know there are plenty of question and posts about this out there, however I couldn't find a solution or existing thread to my specific question. If I list my categories and click on "cars" the url ...
0
votes
2answers
3k views

Using a portfolio_category slug in wordpress URL

I won't lie - I don't know php but I enjoy digging around trying to find ways to customize themes so that they behave how I want them to. Any help would be very much appreciated. What I am trying to ...
0
votes
1answer
2k views

hide wp-content from urls

Here is what I am thinking of trying to hide wp-content from the urls of files included in page source. defining the following in wp-settings.php define ...
0
votes
1answer
400 views

Block direct url enter

I want to block / disable direct url entering into address bar. Is it possible in wordpress? Actually I have created custom login, profile and other pages so don't want to allow user to go through ...
0
votes
1answer
114 views

Are href attributes of a elements filtered on output to add the current path?

I have some code that basically looks like this (it's more complicated, but even this example shows what I'm running into): echo '<a href="#">TEST</a>'; However, what gets sent to the ...
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
2answers
2k views

Moved WP into new folder. How to fix image links in posts?

I moved from Wordpress.com to my own Wordpress.org hosting. I had no problems importing all my posts over, and the images were all linked up fine. Since the import, I decided to move my WP install ...
0
votes
1answer
178 views

URL renaming issue

I am a non programmer using a wordpress site (riyachting.com) I just discoverd that sending folks to my page with a URL that inlcudes some other stuff in it gets stripped out so only the URL of the ...
0
votes
3answers
2k views

How do I make page URLs look like “www.site.com/page” instead of “www.site.com/blog/page” but have post URLs stay “www.site.com/blog/post”?

I would like to make it so the URLs of my pages (created in the Wordpress dashboard) show up right after the domain name instead of after the blog directory. I have installed Wordpress in a ...
0
votes
1answer
56 views

Is dynamic URL possible in Wordpress

I know the title seems little bit confusing, but what I am looking for is something possible in symfony or ror. I have a page with this URL: http://mydomain.com/job/. Now I want this URL structure ...