Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Ah, so you are saying that an attempt to name a page something purely numerical may not work because of the way wordpress uses “Pretty” or “Almost Pretty” permalinks.
    I shall rename my /news/2007/ to /news/Y2007/ or something like this.

    %year%
        The year of the post, four digits, for example 2004 
    
     %monthnum%
        Month of the year, for example 05 
    
     %day%
        Day of the month, for example 28 
    
     %hour%
        Hour of the day, for example 15 
    
     %minute%
        Minute of the hour, for example 43 
    
     %second%
        Second of the minute, for example 33

    Having this issue as well.
    I want to have a permalink structure that looks like:
    website.com/News/2007/CompanyADidSomethingCool/
    When I create the page for the year ‘2007‘ the permalinks changes to ‘2007-2

    I also need to have a 301 redirect map in my htaccess file but want this to look the way I want before I go ahead and add these 301s to the file.
    Any insight out there?

    Thread Starter RichardCooke

    (@richardcooke)

    Has anyone observed a working WP install with Zeus and WP v3.1?

    Thanks

    Thread Starter RichardCooke

    (@richardcooke)

    3.1.1, 3.1.2 Neither has worked.
    There are WP installs on my provider who are using pre 3.0 versions of WP successfully.

    Thread Starter RichardCooke

    (@richardcooke)

    the admin at Primus claims to have added the following script to the site:

    RULE_0_START:
    # get the document root
    map path into SCRATCH:DOCROOT from /
    # initialize our variables
    set SCRATCH:ORIG_URL = %{URL}
    set SCRATCH:REQUEST_URI = %{URL}
    
    # see if theres any queries in our URL
    match URL into $ with ^(.*)\?(.*)$
    if matched then
    set SCRATCH:REQUEST_URI = $1
    set SCRATCH:QUERY_STRING = $2
    endif
    RULE_0_END:
    
    RULE_1_START:
    # prepare to search for file, rewrite if its not found set SCRATCH:REQUEST_FILENAME = %{SCRATCH:DOCROOT} set SCRATCH:REQUEST_FILENAME . %{SCRATCH:REQUEST_URI}
    
    # check to see if the file requested is an actual file or # a directory with possibly an index. don?t rewrite if so look for file at %{SCRATCH:REQUEST_FILENAME} if not exists then look for dir at %{SCRATCH:REQUEST_FILENAME} if not exists then set URL = /index.php?q=%{SCRATCH:REQUEST_URI}
    goto QSA_RULE_START
    endif
    endif
    
    # if we made it here then its a file or dir and no rewrite goto END
    RULE_1_END:
    
    QSA_RULE_START:
    # append the query string if there was one originally # the same as [QSA,L] for apache match SCRATCH:ORIG_URL into % with \?(.*)$ if matched then set URL = %{URL}&%{SCRATCH:QUERY_STRING} endif goto END
    QSA_RULE_END:
Viewing 5 replies - 1 through 5 (of 5 total)