Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • That may be possible already.

    First, there’s an option for a URL Prefix in the Settings panel that may or may not hide the pathname. Give it a try.

    Second, try installing your blog in either the domain root, or in a folder named something other than “wordpress”. Like ‘b’.

    Thread Starter desert-rat

    (@desert-rat)

    In this example, I doubt it because there’s a CNAME in the DNS setup that equates /cPanel to :8082 or whatever port it is attached to. DNS mappings take priority over .htaccess mappings.

    But in general, you’re probably right.

    Thread Starter desert-rat

    (@desert-rat)

    you’re supposed to be able to route any given name and port to virtually any IP/host server using DNS settings.

    Perhaps I do NOT want to domain-map the domain on the multi-site WP, and just cname dom2.com to point at mymultisite.com/dom2 ?

    Also, I want everything else to operate normally — in particular, I do not want to route the mail to a mailbox on another domain.

    -David

    Forum: Plugins
    In reply to: taxonomy plugin question
    Thread Starter desert-rat

    (@desert-rat)

    I’m not trying to create a taxonomy. I do not want or need custom page templates. I don’t even need custom post types.

    I’m simply trying to find a plugin that comes close to doing what this guy describes:

    http://www.rlmseo.com/blog/passing-get-query-string-parameters-in-wordpress-url/comment-page-1/

    His approach requires you to modify the theme’s function.php file and some other theme-specific stuff. However, putting this logic into a plugin would let you do this with any theme.

    I’ve searched around, and the only plugins I can find that do URL rewriting are SEO plugins and those that help you manage taxonomies.

    Simply put, if I have a URL like this:

    mydomain.com/product/scissors

    It gets rewritten as something like this:

    mydomain.com/product?prod_type=scissors

    Then I can have a Page at:

    mydomain.com/product

    that can pick up the last term “scissors” in a variable like {prod_type} and run a query on it like this:

    select * from products where prod_type = “{prod_type}”

    (The syntax “{xyz}” is hypothetical. It’s just an example.)

    and the page would actually run the query:

    select * from products where prod_type = “scissors”

    There are plenty of places within WordPress that do URL rewriting, like permalinks.

    There are plenty of plugins that do this exact kind of substitution in regular Pages.

    I’m simply looking for a way to rewrite the URL, assigning the last field to a (fixed) variable, and being able to access that variable and its value within a Page.

    Maybe there’s a plugin that does exactly this. But taxonomies are the closest things I’ve found to doing this so far.

    -David

    Forum: Plugins
    In reply to: taxonomy plugin question
    Thread Starter desert-rat

    (@desert-rat)

    It’s a standard querystring argument=value pair.

    Here’s a more concrete example:

    I need URLs of this form:

    coolstuff.com/product/prod1234

    to work as if they’re given as:

    coolstuff.com/product?prodid=prod1234

    and I need to be able to access the valued of $prodid (however it’s given) inside the content of the Page that WordPress brings up as

    coolstuff.com/product

    For example, a query to pull up info on the product where prodid=”prod1234″

    Or a form to request more information or pricing and availability regarding that product, where there’s a hidden field, say, that identifies this as product “prod1234”, as taken from the URL.

    -David

    Thread Starter desert-rat

    (@desert-rat)

    Ooops….

    Turned out the account was over-quota for disk space. I increased the amount of disk space allocated to the account and everything worked fine.

    I hope this helps others who might run into this strange situation.

    -David

    the %Mobile site seems to assume that m.yoursite.com is a mobile site vs. yoursite.com which is a desktop site. I have cPanel and set up a subdomain ‘m’ with public_html as it’s document root. Then I set it up to redirect to http://yoursite.com/?wpmp_switcher=mobile

    However, going there from the desktop just goes to the regular page, not a mobile page.

    %Mobile wants a URL for the MOBILE SITE. All there is here is a querystring argument that detects and switches appropriately, but %Mobile won’t accept the querystring.

    How can you get a URL that goes to the mobile version no matter what?

    Some people use a folder like ‘yoursite.com/mobile’.

    Also, what if you want different content on the mobile site than the desktop site. Do you need separate installations of WordPress?

    Thanks

    are the wordpress blogs the same version? also, there could be some junk that got posted that’s choking on import.

    Thread Starter desert-rat

    (@desert-rat)

    either this is a really tough question, or nobody has a clue…

Viewing 9 replies - 1 through 9 (of 9 total)