Jump to content

handlegeek

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Everything posted by handlegeek

  1. You can enable permission for authenticated users to add content of the type "reverse-auction" or whatever you have named it. Then users of the site can add content using http://example.com/node/add/reverse-auction
  2. Unless I am misunderstanding what you are expecting, you can target your sub domain like this correct? RewriteEngine On RewriteCond %{HTTP_HOST} ^sub\.example\.com$ [NC] RewriteRule ^(/)?$ index.php?page=pressrelease_homepage [L] RewriteRule ^index([0-9-]+)\.html$ index.php?page=pressrelease_homepage&pn=$1 [L] RewriteRule ^([a-zA-Z0-9-]+)-([0-9-]+)\.html$ index.php?page=pressrelease_page&id=$2 [L]
  3. Guess this will work for you RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com [NC] RewriteRule ^news http://press.example.com/ [R=301,L] RewriteRule ^press/(.*)$ http://press.example.com/$1 [R=301,L]
  4. If you can give couple of examples of redirect you want to do - it would be better. Both /press and /news to press.site.com is kind of confusing. A simple rewrite for example.com/press/something to press.example.com/something would be like the one below RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com [NC] RewriteRule ^press/(.*)$ http://sub.example.com/$1 [R=301,L] Believe you are expecting something different mentioning about old urls and new urls for SEO. Examples would illustrate better.
  5. Yes, you can use PHP to check if the URL starts with "http://" or "https://" and show error message OR prefix "http://" considering http:// to be default. In addition to that, using JavaScript you can validate the URL field - To check if it follows a valid URL pattern and show a error message to the user.
  6. You can check if the AJAX request is successful by looking into the request and response in your browser: Firefox -> Firebug or Chrome Web Inspector "Net" tab. This will show the request parameters and the response (including headers) of the Ajax request which will help in debugging the issue.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.